diff src/video/win32/SDL_win32modes.h @ 3521:76f9b76ddf0f

Don't add any renderers if you can't add any displays
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Dec 2009 09:01:48 +0000
parents 4b594623401b
children 59ff7a2beb57
line wrap: on
line diff
--- a/src/video/win32/SDL_win32modes.h	Fri Dec 04 08:45:08 2009 +0000
+++ b/src/video/win32/SDL_win32modes.h	Fri Dec 04 09:01:48 2009 +0000
@@ -34,7 +34,7 @@
     DEVMODE DeviceMode;
 } SDL_DisplayModeData;
 
-extern void WIN_InitModes(_THIS);
+extern int WIN_InitModes(_THIS);
 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
 extern void WIN_QuitModes(_THIS);