diff src/video/photon/SDL_ph_gl.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 3692456e7b0f
children c0a74f199ecf
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_gl.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/photon/SDL_ph_gl.c	Thu Feb 16 10:11:48 2006 +0000
@@ -24,7 +24,7 @@
 #include "SDL.h"
 #include "SDL_ph_gl.h"
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 
 #if (_NTO_VERSION >= 630)
     /* PhotonGL functions */
@@ -96,7 +96,7 @@
 #if (_NTO_VERSION < 630)
 int ph_GL_LoadLibrary(_THIS, const char* path)
 {
-    /* if code compiled with HAVE_OPENGL, that mean that library already linked */
+    /* if code compiled with SDL_VIDEO_OPENGL, that mean that library already linked */
     this->gl_config.driver_loaded = 1;
 
     return 0;
@@ -402,4 +402,4 @@
 
 #endif /* _NTO_VERSION */
 
-#endif /* HAVE_OPENGL */
+#endif /* SDL_VIDEO_OPENGL */