Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 1655:59227394023d SDL-1.3
SDL_OPENGLBLIT is really gone...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Apr 2006 05:49:51 +0000 |
parents | 0a53c90a37f9 |
children | 96c2f89cc7e1 |
comparison
equal
deleted
inserted
replaced
1654:0a53c90a37f9 | 1655:59227394023d |
---|---|
934 { | 934 { |
935 int i; | 935 int i; |
936 SDL_VideoDevice *video = current_video; | 936 SDL_VideoDevice *video = current_video; |
937 SDL_VideoDevice *this = current_video; | 937 SDL_VideoDevice *this = current_video; |
938 | 938 |
939 if ( (screen->flags & (SDL_OPENGL | SDL_OPENGLBLIT)) == SDL_OPENGL ) { | 939 if ( screen->flags & SDL_OPENGL ) { |
940 SDL_SetError("OpenGL active, use SDL_GL_SwapBuffers()"); | 940 SDL_SetError("OpenGL active, use SDL_GL_SwapBuffers()"); |
941 return; | 941 return; |
942 } | 942 } |
943 if ( screen == SDL_ShadowSurface ) { | 943 if ( screen == SDL_ShadowSurface ) { |
944 /* Blit the shadow surface using saved mapping */ | 944 /* Blit the shadow surface using saved mapping */ |