Mercurial > sdl-ios-xcode
comparison src/video/maccommon/SDL_macevents.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | f12379c41042 |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
380 break; | 380 break; |
381 #endif | 381 #endif |
382 case updateEvt: { | 382 case updateEvt: { |
383 BeginUpdate(SDL_Window); | 383 BeginUpdate(SDL_Window); |
384 #if SDL_VIDEO_OPENGL | 384 #if SDL_VIDEO_OPENGL |
385 if (SDL_VideoSurface->flags & SDL_OPENGL) | 385 if (SDL_VideoSurface->flags & SDL_INTERNALOPENGL) |
386 SDL_GL_SwapBuffers(); | 386 SDL_GL_SwapBuffers(); |
387 else | 387 else |
388 #endif | 388 #endif |
389 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) == | 389 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) == |
390 SDL_SWSURFACE ) { | 390 SDL_SWSURFACE ) { |