File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 65
65
66
66
// Initialization/Cleanup routines
67
67
#include "timer/SDL_timer_c.h"
68
- #ifdef SDL_VIDEO_DRIVER_WINDOWS
68
+ #ifdef SDL_PLATFORM_WINDOWS
69
69
extern bool SDL_HelperWindowCreate (void );
70
70
extern void SDL_HelperWindowDestroy (void );
71
71
#endif
@@ -317,7 +317,7 @@ bool SDL_InitSubSystem(SDL_InitFlags flags)
317
317
SDL_DBus_Init ();
318
318
#endif
319
319
320
- #ifdef SDL_VIDEO_DRIVER_WINDOWS
320
+ #ifdef SDL_PLATFORM_WINDOWS
321
321
if (flags & (SDL_INIT_HAPTIC | SDL_INIT_JOYSTICK )) {
322
322
if (!SDL_HelperWindowCreate ()) {
323
323
goto quit_and_error ;
@@ -653,7 +653,7 @@ void SDL_Quit(void)
653
653
SDL_bInMainQuit = true;
654
654
655
655
// Quit all subsystems
656
- #ifdef SDL_VIDEO_DRIVER_WINDOWS
656
+ #ifdef SDL_PLATFORM_WINDOWS
657
657
SDL_HelperWindowDestroy ();
658
658
#endif
659
659
SDL_QuitSubSystem (SDL_INIT_EVERYTHING );
You can’t perform that action at this time.
0 commit comments