Fixed to compile while the OpenGL renderer is under construction
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401964
This commit is contained in:
parent
397be19fd2
commit
2b538200ba
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue