src/video/x11/SDL_x11modes.c
changeset 4591 1e998db9b597
parent 4590 1ad70fb49fcb
child 4593 3892fe2f6537
--- a/src/video/x11/SDL_x11modes.c	Fri Jul 09 21:36:41 2010 +0530
+++ b/src/video/x11/SDL_x11modes.c	Wed Jul 14 19:17:11 2010 +0530
@@ -49,7 +49,7 @@
             return 0;
         }
     }
-#ifdef SDL_VIDEO_DRIVER_X11_XRENDER
+/*#ifdef SDL_VIDEO_DRIVER_X11_XRENDER
     depth = 32;
     long vinfo_mask;
     XVisualInfo vinfo_templ;
@@ -64,7 +64,7 @@
         XFree(vi);
         return 0;
     }
-#endif
+#endif*/
     depth = DefaultDepth(display, screen);
     if ((X11_UseDirectColorVisuals() &&
          XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) ||