diff src/video/x11/SDL_x11modes.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 f7b03b6838cb
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.h	Fri Dec 04 08:45:08 2009 +0000
+++ b/src/video/x11/SDL_x11modes.h	Fri Dec 04 09:01:48 2009 +0000
@@ -54,7 +54,7 @@
 
 } SDL_DisplayData;
 
-extern void X11_InitModes(_THIS);
+extern int X11_InitModes(_THIS);
 extern void X11_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
 extern int X11_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
 extern void X11_QuitModes(_THIS);