Sfoglia il codice sorgente

Windows: Workaround ARM64 compilation for now.

Looks like this is no longer needed for next version of SDL, but still needed for 2.24.x
Miku AuahDark 3 anni fa
parent
commit
b77925729f
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      libs/SDL2/src/video/windows/SDL_windowsvideo.c

+ 7 - 0
libs/SDL2/src/video/windows/SDL_windowsvideo.c

@@ -80,6 +80,13 @@ static void WIN_SuspendScreenSaver(_THIS)
 extern void D3D12_XBOX_GetResolution(Uint32 *width, Uint32 *height);
 #endif
 
+#ifndef SDL_VIDEO_OPENGL
+void
+WIN_GL_GetDrawableSize(_THIS, SDL_Window *window, int *w, int *h)
+{
+    WIN_GetDrawableSize(window, w, h);
+}
+#endif
 
 /* Windows driver bootstrap functions */