comparison src/video/dummy/SDL_nullvideo.c @ 1965:a788656ca29a

SDL constants are all uppercase.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Aug 2006 17:09:42 +0000
parents 83420da906a5
children b252359547ed
comparison
equal deleted inserted replaced
1964:071b6598d48f 1965:a788656ca29a
108 DUMMY_VideoInit(_THIS) 108 DUMMY_VideoInit(_THIS)
109 { 109 {
110 SDL_DisplayMode mode; 110 SDL_DisplayMode mode;
111 111
112 /* Use a fake 32-bpp desktop mode */ 112 /* Use a fake 32-bpp desktop mode */
113 mode.format = SDL_PixelFormat_RGB888; 113 mode.format = SDL_PIXELFORMAT_RGB888;
114 mode.w = 1024; 114 mode.w = 1024;
115 mode.h = 768; 115 mode.h = 768;
116 mode.refresh_rate = 0; 116 mode.refresh_rate = 0;
117 SDL_AddBasicVideoDisplay(&mode); 117 SDL_AddBasicVideoDisplay(&mode);
118 SDL_AddRenderDriver(0, &SDL_DUMMY_RenderDriver); 118 SDL_AddRenderDriver(0, &SDL_DUMMY_RenderDriver);