Fixed to compile while the OpenGL renderer is under construction
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jul 2006 08:46:57 +0000
changeset 191900816063b9c9
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
     1.1 --- a/src/video/SDL_renderer_gl.c	Wed Jul 19 07:18:45 2006 +0000
     1.2 +++ b/src/video/SDL_renderer_gl.c	Wed Jul 19 08:46:57 2006 +0000
     1.3 @@ -22,7 +22,7 @@
     1.4  #include "SDL_config.h"
     1.5  
     1.6  #if SDL_VIDEO_OPENGL
     1.7 -
     1.8 +#if 0
     1.9  #include "SDL_win32video.h"
    1.10  
    1.11  /* OpenGL renderer implementation */
    1.12 @@ -539,6 +539,7 @@
    1.13      SDL_free(renderer);
    1.14  }
    1.15  
    1.16 +#endif /* 0 */
    1.17  #endif /* SDL_VIDEO_OPENGL */
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */
     2.1 --- a/src/video/SDL_video.c	Wed Jul 19 07:18:45 2006 +0000
     2.2 +++ b/src/video/SDL_video.c	Wed Jul 19 08:46:57 2006 +0000
     2.3 @@ -280,7 +280,7 @@
     2.4      /* The software renderer is always available */
     2.5      for (i = 0; i < _this->num_displays; ++i) {
     2.6          if (_this->displays[i].num_render_drivers > 0) {
     2.7 -#if SDL_VIDEO_OPENGL
     2.8 +#if 0 //SDL_VIDEO_OPENGL
     2.9              SDL_AddRenderDriver(i, &GL_RenderDriver);
    2.10  #endif
    2.11              SDL_AddRenderDriver(i, &SW_RenderDriver);