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

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents d910939febfa
children 782fd950bd46
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_modes.c	Fri Apr 28 16:55:41 2006 +0000
+++ b/src/video/photon/SDL_ph_modes.c	Mon May 01 06:58:33 2006 +0000
@@ -309,7 +309,7 @@
 
         if (this->screen)
         {
-            if ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL)
+            if (this->screen->flags & SDL_INTERNALOPENGL)
             {
 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630)
                 return 0; /* 6.3.0 */
@@ -345,7 +345,7 @@
        
     if (currently_fullscreen)
     {
-        if ((this->screen) && ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL))
+        if ((this->screen) && (this->screen->flags & SDL_INTERNALOPENGL))
         {
 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630)
             return 0;