diff src/video/photon/SDL_ph_video.c @ 1658:e49147870aac SDL-1.3

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents 8d9bb0cf2c2a
children 782fd950bd46
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_video.c	Fri Apr 28 16:55:41 2006 +0000
+++ b/src/video/photon/SDL_ph_video.c	Mon May 01 06:58:33 2006 +0000
@@ -475,12 +475,12 @@
         return NULL;
     }
 
-    if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
+    if (current->flags & SDL_INTERNALOPENGL)
     {
 #if !SDL_VIDEO_OPENGL
         /* if no built-in OpenGL support */
         SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
-        current->flags &= ~SDL_OPENGL;
+        current->flags &= ~SDL_INTERNALOPENGL;
         return NULL;
 #endif /* SDL_VIDEO_OPENGL */
     }