comparison src/video/maccommon/SDL_macevents.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
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
35 #endif 35 #endif
36 36
37 #include "SDL_events.h" 37 #include "SDL_events.h"
38 #include "SDL_video.h" 38 #include "SDL_video.h"
39 #include "SDL_syswm.h" 39 #include "SDL_syswm.h"
40 #include "SDL_events_c.h" 40 #include "../../events/SDL_events_c.h"
41 #include "SDL_cursor_c.h" 41 #include "../../events/SDL_sysevents.h"
42 #include "SDL_sysevents.h" 42 #include "../SDL_cursor_c.h"
43 #include "SDL_macevents_c.h" 43 #include "SDL_macevents_c.h"
44 #include "SDL_mackeys.h" 44 #include "SDL_mackeys.h"
45 #include "SDL_macmouse_c.h" 45 #include "SDL_macmouse_c.h"
46 46
47 /* Define this to be able to collapse SDL windows. 47 /* Define this to be able to collapse SDL windows.
378 } 378 }
379 break; 379 break;
380 #endif 380 #endif
381 case updateEvt: { 381 case updateEvt: {
382 BeginUpdate(SDL_Window); 382 BeginUpdate(SDL_Window);
383 #ifdef HAVE_OPENGL 383 #if SDL_VIDEO_OPENGL
384 if (SDL_VideoSurface->flags & SDL_OPENGL) 384 if (SDL_VideoSurface->flags & SDL_OPENGL)
385 SDL_GL_SwapBuffers(); 385 SDL_GL_SwapBuffers();
386 else 386 else
387 #endif 387 #endif
388 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) == 388 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) ==