Fixed building on Windows with SDL_VIDEO=OFF

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

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
/*