comparison 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
comparison
equal deleted inserted replaced
3520:83518f8fcd61 3521:76f9b76ddf0f
52 } saved_view; 52 } saved_view;
53 #endif 53 #endif
54 54
55 } SDL_DisplayData; 55 } SDL_DisplayData;
56 56
57 extern void X11_InitModes(_THIS); 57 extern int X11_InitModes(_THIS);
58 extern void X11_GetDisplayModes(_THIS, SDL_VideoDisplay * display); 58 extern void X11_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
59 extern int X11_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); 59 extern int X11_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
60 extern void X11_QuitModes(_THIS); 60 extern void X11_QuitModes(_THIS);
61 61
62 #endif /* _SDL_x11modes_h */ 62 #endif /* _SDL_x11modes_h */