changeset 1919:00816063b9c9

Fixed to compile while the OpenGL renderer is under construction
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jul 2006 08:46:57 +0000
parents 092bd3a019c5
children 8a162bfdc838
files src/video/SDL_renderer_gl.c src/video/SDL_video.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);