remove spoofed SDL_HelperWindow when SDL_VIDEO is off

This commit is contained in:
Kyle Sylvestre
2025-07-12 00:46:53 -04:00
committed by Sam Lantinga
parent d42217ba26
commit 0f061ff154
2 changed files with 0 additions and 8 deletions

View File

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

View File

@@ -40,11 +40,7 @@
#define CONVERT_MAGNITUDE(x) (((x)*10000) / 0x7FFF) #define CONVERT_MAGNITUDE(x) (((x)*10000) / 0x7FFF)
// external variables referenced. // external variables referenced.
#ifdef SDL_VIDEO_DRIVER_WINDOWS
extern HWND SDL_HelperWindow; extern HWND SDL_HelperWindow;
#else
static const HWND SDL_HelperWindow = NULL;
#endif
// local variables // local variables
static bool coinitialized = false; static bool coinitialized = false;