From bd2066fcc105cf6afb951b1ad04f40a0a45de2ef Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Wed, 26 May 2021 19:09:50 +0200 Subject: sokol_app.h win32: always link with gdi32, not just in the GL backend --- sokol_app.h | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3