1
0
Эх сурвалжийг харах

Fixed building with older Windows SDK

Sam Lantinga 2 жил өмнө
parent
commit
c24b33d8d9

+ 4 - 0
src/video/windows/SDL_windowsvideo.h

@@ -52,6 +52,10 @@
 
 #include "SDL_windowswindow.h"
 
+#ifndef USER_DEFAULT_SCREEN_DPI
+#define USER_DEFAULT_SCREEN_DPI 96
+#endif
+
 #if WINVER < 0x0601
 /* Touch input definitions */
 #define TWF_FINETOUCH 1