Mercurial > sdl-ios-xcode
comparison include/SDL_config_windows.h @ 5090:455bc74f7034
Fixed bug #1100
Test the video features with #if instead of #ifdef
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 17:38:18 -0800 |
parents | c2539ff054c8 |
children | e594f07297a9 |
comparison
equal
deleted
inserted
replaced
5089:b4b0e9f1669c | 5090:455bc74f7034 |
---|---|
177 /* Enable various video drivers */ | 177 /* Enable various video drivers */ |
178 #define SDL_VIDEO_DRIVER_DUMMY 1 | 178 #define SDL_VIDEO_DRIVER_DUMMY 1 |
179 #define SDL_VIDEO_DRIVER_WINDOWS 1 | 179 #define SDL_VIDEO_DRIVER_WINDOWS 1 |
180 | 180 |
181 #ifdef _WIN32_WCE | 181 #ifdef _WIN32_WCE |
182 #ifndef SDL_VIDEO_RENDER_GAPI | |
182 #define SDL_VIDEO_RENDER_GAPI 1 | 183 #define SDL_VIDEO_RENDER_GAPI 1 |
183 #else | 184 #endif |
185 #else | |
186 #ifndef SDL_VIDEO_RENDER_D3D | |
184 #define SDL_VIDEO_RENDER_D3D 1 | 187 #define SDL_VIDEO_RENDER_D3D 1 |
185 #endif | 188 #endif |
189 #endif | |
190 #ifndef SDL_VIDEO_RENDER_GDI | |
186 #define SDL_VIDEO_RENDER_GDI 1 | 191 #define SDL_VIDEO_RENDER_GDI 1 |
192 #endif | |
187 | 193 |
188 /* Enable OpenGL support */ | 194 /* Enable OpenGL support */ |
189 #ifndef _WIN32_WCE | 195 #ifndef _WIN32_WCE |
196 #ifndef SDL_VIDEO_OPENGL | |
190 #define SDL_VIDEO_OPENGL 1 | 197 #define SDL_VIDEO_OPENGL 1 |
198 #endif | |
199 #ifndef SDL_VIDEO_OPENGL_WGL | |
191 #define SDL_VIDEO_OPENGL_WGL 1 | 200 #define SDL_VIDEO_OPENGL_WGL 1 |
201 #endif | |
202 #ifndef SDL_VIDEO_RENDER_OGL | |
192 #define SDL_VIDEO_RENDER_OGL 1 | 203 #define SDL_VIDEO_RENDER_OGL 1 |
204 #endif | |
193 #endif | 205 #endif |
194 | 206 |
195 /* Enable system power support */ | 207 /* Enable system power support */ |
196 #define SDL_POWER_WINDOWS 1 | 208 #define SDL_POWER_WINDOWS 1 |
197 | 209 |