comparison 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
comparison
equal deleted inserted replaced
3520:83518f8fcd61 3521:76f9b76ddf0f
32 typedef struct 32 typedef struct
33 { 33 {
34 DEVMODE DeviceMode; 34 DEVMODE DeviceMode;
35 } SDL_DisplayModeData; 35 } SDL_DisplayModeData;
36 36
37 extern void WIN_InitModes(_THIS); 37 extern int WIN_InitModes(_THIS);
38 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display); 38 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
39 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); 39 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
40 extern void WIN_QuitModes(_THIS); 40 extern void WIN_QuitModes(_THIS);
41 41
42 #endif /* _SDL_win32modes_h */ 42 #endif /* _SDL_win32modes_h */