Skip to content

Commit 0f061ff

Browse files
kyle-sylvestreslouken
authored andcommitted
remove spoofed SDL_HelperWindow when SDL_VIDEO is off
1 parent d42217b commit 0f061ff

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/haptic/windows/SDL_dinputhaptic.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@
3131
/*
3232
* External stuff.
3333
*/
34-
#ifdef SDL_VIDEO_DRIVER_WINDOWS
3534
extern HWND SDL_HelperWindow;
36-
#else
37-
static const HWND SDL_HelperWindow = NULL;
38-
#endif
3935

4036
/*
4137
* Internal stuff.

src/joystick/windows/SDL_dinputjoystick.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@
4040
#define CONVERT_MAGNITUDE(x) (((x)*10000) / 0x7FFF)
4141

4242
// external variables referenced.
43-
#ifdef SDL_VIDEO_DRIVER_WINDOWS
4443
extern HWND SDL_HelperWindow;
45-
#else
46-
static const HWND SDL_HelperWindow = NULL;
47-
#endif
4844

4945
// local variables
5046
static bool coinitialized = false;

0 commit comments

Comments
 (0)