Commit 294fd419 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40838
parent 6c5308c0
...@@ -495,8 +495,6 @@ static SDL_Surface* ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int ...@@ -495,8 +495,6 @@ static SDL_Surface* ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int
if ((current->flags & SDL_OPENGL)==SDL_OPENGL) if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
{ {
#if !defined(HAVE_OPENGL) #if !defined(HAVE_OPENGL)
if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
{
/* if no built-in OpenGL support */ /* if no built-in OpenGL support */
SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n"); SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
current->flags &= ~SDL_OPENGL; current->flags &= ~SDL_OPENGL;
......
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