C++
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}
*uintptr_t
(edited)E:\Teeworlds_DDNet\DDNet-fork\src\base\system.c:3394:10: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
3394 | return (uintptr_t)ShellExecuteA(NULL, "open", link, NULL, NULL, SW_SHOWDEFAULT) > 32;
src/engine/client/client.cpp:4275:14: error: expected constructor, destructor, or type conversion before ‘(’ token
4275 | _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
| ^
[2021-04-10 23:03:36][sdl]: SDL version 2.0.8 (compiled = 2.0.8)
[2021-04-10 23:03:36][gfx]: Created OpenGL zu.zu context.
[2021-04-10 23:03:37][opengl]: Vendor string: NVIDIA Corporation
[2021-04-10 23:03:37][opengl]: Version string: 4.6.0 NVIDIA 425.31
logfile test
or smth like that (edited)[2021-04-10 23:11:34][client]: starting...
[2021-04-10 23:11:34][sdl]: SDL version 2.0.8 (compiled = 2.0.8)
[2021-04-10 23:11:34][gfx]: Created OpenGL zu.zu context.
[2021-04-10 23:11:34][gfx]: unable to create window: No matching GL pixel format available
[2021-04-10 23:11:34][gfx]: setting resolution to 640x480 and trying again
[2021-04-10 23:11:34][sdl]: SDL version 2.0.8 (compiled = 2.0.8)
[2021-04-10 23:11:34][gfx]: Created OpenGL zu.zu context.
[2021-04-10 23:11:34][gfx]: unable to create window: No matching GL pixel format available
[2021-04-10 23:11:34][gfx]: out of ideas. failed to init graphics
[2021-04-10 23:11:34][client]: couldn't init graphics
[2021-04-10 23:16:40][client]: starting...
[2021-04-10 23:16:40][sdl]: SDL version 2.0.8 (compiled = 2.0.8)
[2021-04-10 23:16:40][gfx]: Created OpenGL zu.zu context.
[2021-04-10 23:16:40][opengl]: Vendor string: Intel
[2021-04-10 23:16:40][opengl]: Version string: 3.0.0 - Build 10.18.14.5162
[2021-04-10 23:16:40][gfx]: GPU vendor: Intel
[2021-04-10 23:16:40][gfx]: GPU renderer: Intel(R) HD Graphics 4600
[2021-04-10 23:16:40][gfx]: GPU version: 3.0.0 - Build 10.18.14.5162