diff src/video/cybergfx/SDL_cgxgl_c.h @ 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 c9b51268668f
children d910939febfa
line wrap: on
line diff
--- a/src/video/cybergfx/SDL_cgxgl_c.h	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/cybergfx/SDL_cgxgl_c.h	Thu Feb 16 10:11:48 2006 +0000
@@ -22,13 +22,14 @@
 
 /* StormMesa implementation of SDL OpenGL support */
 
-#include "SDL_sysvideo.h"
+#include "../SDL_sysvideo.h"
+
 #define _THIS   SDL_VideoDevice *_this
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 #include <GL/Amigamesa.h>
 extern void *AmiGetGLProc(const char *proc);
-#endif /* HAVE_OPENGL */
+#endif /* SDL_VIDEO_OPENGL */
 
 struct SDL_PrivateGLData {
 	int gl_active;
@@ -38,7 +39,7 @@
 extern int CGX_GL_Init(_THIS);
 extern void CGX_GL_Quit(_THIS);
 extern int CGX_GL_Update(_THIS);
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 extern int CGX_GL_MakeCurrent(_THIS);
 extern int CGX_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value);
 extern void CGX_GL_SwapBuffers(_THIS);