diff src/video/SDL_video.c @ 1952:420716272158

Implemented X11 OpenGL support. Added support for the SDL_VIDEO_OPENGL environment variable.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Jul 2006 08:43:17 +0000
parents 3182150b470f
children ba0d62354872
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Jul 27 06:53:23 2006 +0000
+++ b/src/video/SDL_video.c	Fri Jul 28 08:43:17 2006 +0000
@@ -276,7 +276,7 @@
 
     /* The software renderer is always available */
     for (i = 0; i < _this->num_displays; ++i) {
-#if SDL_VIDEO_OPENGL
+#if SDL_VIDEO_RENDER_OGL
         SDL_AddRenderDriver(i, &GL_RenderDriver);
 #endif
         if (_this->displays[i].num_render_drivers > 0) {