Fixed building on Windows with SDL_VIDEO=OFF

Fixes https://github.com/libsdl-org/SDL/issues/6562
This commit is contained in:
Sam Lantinga committed 2022-11-29 09:26:29 -08:00
1 parent b7cc4dce70
commit 2d24baaad4
3 files changed
+59

No files matched your search

+4
View File
@@ -37,7 +37,11 @@
/*
* External stuff.
*/
#ifdef SDL_VIDEO_DRIVER_WINDOWS
extern HWND SDL_HelperWindow;
#else
static const HWND SDL_HelperWindow = NULL;
#endif
/*