diff src/video/photon/SDL_ph_modes.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_modes.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/photon/SDL_ph_modes.c	Thu Feb 16 10:11:48 2006 +0000
@@ -310,13 +310,9 @@
         {
             if ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL)
             {
-#ifdef HAVE_OPENGL
-    #if (_NTO_VERSION < 630)
-                return 0;
-    #endif /* 6.3.0 */
-#else
-                return 0;
-#endif /* HAVE_OPENGL */
+#if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630)
+                return 0; /* 6.3.0 */
+#endif
             }
         }
 
@@ -350,13 +346,9 @@
     {
         if ((this->screen) && ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL))
         {
-#ifdef HAVE_OPENGL
-    #if (_NTO_VERSION < 630)
+#if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630)
             return 0;
-    #endif /* 6.3.0 */
-#else
-            return 0;
-#endif /* HAVE_OPENGL */
+#endif
         }
 
         /* release routines starts here */