Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed to compile while the OpenGL renderer is under construction

  • Loading branch information
slouken committed Jul 19, 2006
1 parent 8e280e2 commit 29ed2e52287d1128dcabe9a514ee9a01002dcf07
Showing with 3 additions and 2 deletions.
  1. +2 −1 src/video/SDL_renderer_gl.c
  2. +1 −1 src/video/SDL_video.c
@@ -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 @@ GL_DestroyRenderer(SDL_Renderer * renderer)
SDL_free(renderer);
}

#endif /* 0 */
#endif /* SDL_VIDEO_OPENGL */

/* vi: set ts=4 sw=4 expandtab: */
@@ -280,7 +280,7 @@ SDL_VideoInit(const char *driver_name, Uint32 flags)
/* 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);

0 comments on commit 29ed2e5

Please sign in to comment.