diff src/video/macdsp/SDL_dspvideo.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 c0a74f199ecf
line wrap: on
line diff
--- a/src/video/macdsp/SDL_dspvideo.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/macdsp/SDL_dspvideo.c	Thu Feb 16 10:11:48 2006 +0000
@@ -138,10 +138,10 @@
 #endif
 
 #include "SDL_video.h"
-#include "SDL_blit.h"
 #include "SDL_syswm.h"
-#include "SDL_sysvideo.h"
-#include "SDL_pixels_c.h"
+#include "../SDL_sysvideo.h"
+#include "../SDL_blit.h"
+#include "../SDL_pixels_c.h"
 #include "SDL_dspvideo.h"
 #include "SDL_macgl_c.h"
 #include "SDL_macwm_c.h"
@@ -177,7 +177,7 @@
                            SDL_Surface *dst, SDL_Rect *dstrect);
 static int DSp_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color);
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
    static void DSp_GL_SwapBuffers (_THIS);
 #endif
 
@@ -296,7 +296,7 @@
 	device->UnlockHWSurface = DSp_UnlockHWSurface;
 	device->FlipHWSurface   = DSp_FlipHWSurface;
 	device->FreeHWSurface   = DSp_FreeHWSurface;
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 	device->GL_MakeCurrent  = Mac_GL_MakeCurrent;
 	device->GL_SwapBuffers  = DSp_GL_SwapBuffers;
 	device->GL_LoadLibrary = Mac_GL_LoadLibrary;
@@ -1390,7 +1390,7 @@
    DSpShutdown ();
 }
 
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 
 /* swap buffers with v-sync */
 static void DSp_GL_SwapBuffers (_THIS) {