Parcourir la source

fixed: TSDLWindow::GetWindowHandle always returned null
SDL_config.h wasn't included, so the ifdef driver checks in bmx_sdl_video_GetWindowHandle were all skipped, resulting in a NULL return

ProPuke il y a 3 ans
Parent
commit
5999777dcc
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      sdlvideo.mod/glue.c

+ 1 - 0
sdlvideo.mod/glue.c

@@ -20,6 +20,7 @@
     3. This notice may not be removed or altered from any source
     distribution.
 */
+#include "SDL_config.h"
 #include "SDL_video.h"
 #include "SDL_syswm.h"