src/video/photon/SDL_ph_video.c
changeset 837 4bc7e16a13ed
parent 821 30168104389f
child 886 05c551e5bc64
equal deleted inserted replaced
836:37f9aeebcbb4 837:4bc7e16a13ed
   493     }
   493     }
   494 
   494 
   495     if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
   495     if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
   496     {
   496     {
   497 #if !defined(HAVE_OPENGL)
   497 #if !defined(HAVE_OPENGL)
   498     if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
       
   499     {
       
   500         /* if no built-in OpenGL support */
   498         /* if no built-in OpenGL support */
   501         SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
   499         SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
   502         current->flags &= ~SDL_OPENGL;
   500         current->flags &= ~SDL_OPENGL;
   503         return NULL;
   501         return NULL;
   504 #endif /* HAVE_OPENGL */
   502 #endif /* HAVE_OPENGL */