diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-05-26 19:09:50 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-05-26 19:09:50 +0200 |
| commit | bd2066fcc105cf6afb951b1ad04f40a0a45de2ef (patch) | |
| tree | 86b3a85428c89d2b0d6fdcd311d2ead9feaa2abd | |
| parent | 2966fb395d2e7aa4b70de4fe59a43e14704335c8 (diff) | |
sokol_app.h win32: always link with gdi32, not just in the GL backend
| -rw-r--r-- | sokol_app.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sokol_app.h b/sokol_app.h index e48c6796..64ebf47b 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -1709,14 +1709,12 @@ inline void sapp_run(const sapp_desc& desc) { return sapp_run(&desc); } #pragma comment (lib, "kernel32") #pragma comment (lib, "user32") #pragma comment (lib, "shell32") /* CommandLineToArgvW, DragQueryFileW, DragFinished */ + #pragma comment (lib, "gdi32") #if defined(SOKOL_D3D11) #pragma comment (lib, "dxgi") #pragma comment (lib, "d3d11") #pragma comment (lib, "dxguid") #endif - #if defined(SOKOL_GLCORE33) - #pragma comment (lib, "gdi32") - #endif #if defined(SOKOL_D3D11) #ifndef D3D11_NO_HELPERS |