Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11window.c @ 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 | 8b7988f42fcb |
children | 073b86030262 |
comparison
equal
deleted
inserted
replaced
5089:b4b0e9f1669c | 5090:455bc74f7034 |
---|---|
286 x = xinerama_info.x_org; | 286 x = xinerama_info.x_org; |
287 y = xinerama_info.y_org; | 287 y = xinerama_info.y_org; |
288 } | 288 } |
289 */ | 289 */ |
290 #endif | 290 #endif |
291 #ifdef SDL_VIDEO_OPENGL_GLX | 291 #if SDL_VIDEO_OPENGL_GLX |
292 if (window->flags & SDL_WINDOW_OPENGL) { | 292 if (window->flags & SDL_WINDOW_OPENGL) { |
293 XVisualInfo *vinfo; | 293 XVisualInfo *vinfo; |
294 | 294 |
295 vinfo = X11_GL_GetVisual(_this, display, screen); | 295 vinfo = X11_GL_GetVisual(_this, display, screen); |
296 if (!vinfo) { | 296 if (!vinfo) { |