diff 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
line wrap: on
line diff
--- a/src/video/x11/SDL_x11window.c	Mon Jan 24 16:10:13 2011 -0800
+++ b/src/video/x11/SDL_x11window.c	Mon Jan 24 17:38:18 2011 -0800
@@ -288,7 +288,7 @@
     }
 */
 #endif
-#ifdef SDL_VIDEO_OPENGL_GLX
+#if SDL_VIDEO_OPENGL_GLX
     if (window->flags & SDL_WINDOW_OPENGL) {
         XVisualInfo *vinfo;