Fixed to compile while the OpenGL renderer is under construction
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jul 2006 08:46:57 +0000
changeset 1919 00816063b9c9
parent 1918 092bd3a019c5
child 1920 8a162bfdc838
Fixed to compile while the OpenGL renderer is under construction
src/video/SDL_renderer_gl.c
src/video/SDL_video.c
--- a/src/video/SDL_renderer_gl.c	Wed Jul 19 07:18:45 2006 +0000
+++ b/src/video/SDL_renderer_gl.c	Wed Jul 19 08:46:57 2006 +0000
@@ -22,7 +22,7 @@
 #include "SDL_config.h"
 
 #if SDL_VIDEO_OPENGL
-
+#if 0
 #include "SDL_win32video.h"
 
 /* OpenGL renderer implementation */
@@ -539,6 +539,7 @@
     SDL_free(renderer);
 }
 
+#endif /* 0 */
 #endif /* SDL_VIDEO_OPENGL */
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/video/SDL_video.c	Wed Jul 19 07:18:45 2006 +0000
+++ b/src/video/SDL_video.c	Wed Jul 19 08:46:57 2006 +0000
@@ -280,7 +280,7 @@
     /* The software renderer is always available */
     for (i = 0; i < _this->num_displays; ++i) {
         if (_this->displays[i].num_render_drivers > 0) {
-#if SDL_VIDEO_OPENGL
+#if 0 //SDL_VIDEO_OPENGL
             SDL_AddRenderDriver(i, &GL_RenderDriver);
 #endif
             SDL_AddRenderDriver(i, &SW_RenderDriver);