Commit 2b538200 authored by Sam Lantinga's avatar Sam Lantinga

Fixed to compile while the OpenGL renderer is under construction

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401964
parent 397be19f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment