Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11modes.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 5cf11b00b900 |
children | 14717b52abc0 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
912 X11_GrabInputNoLock(this, this->input_grab | SDL_GRAB_FULLSCREEN); | 912 X11_GrabInputNoLock(this, this->input_grab | SDL_GRAB_FULLSCREEN); |
913 | 913 |
914 /* We may need to refresh the screen at this point (no backing store) | 914 /* We may need to refresh the screen at this point (no backing store) |
915 We also don't get an event, which is why we explicitly refresh. */ | 915 We also don't get an event, which is why we explicitly refresh. */ |
916 if ( this->screen ) { | 916 if ( this->screen ) { |
917 if ( this->screen->flags & SDL_OPENGL ) { | 917 if ( this->screen->flags & SDL_INTERNALOPENGL ) { |
918 SDL_PrivateExpose(); | 918 SDL_PrivateExpose(); |
919 } else { | 919 } else { |
920 X11_RefreshDisplay(this); | 920 X11_RefreshDisplay(this); |
921 } | 921 } |
922 } | 922 } |
974 X11_GrabInputNoLock(this, this->input_grab & ~SDL_GRAB_FULLSCREEN); | 974 X11_GrabInputNoLock(this, this->input_grab & ~SDL_GRAB_FULLSCREEN); |
975 | 975 |
976 /* We may need to refresh the screen at this point (no backing store) | 976 /* We may need to refresh the screen at this point (no backing store) |
977 We also don't get an event, which is why we explicitly refresh. */ | 977 We also don't get an event, which is why we explicitly refresh. */ |
978 if ( this->screen ) { | 978 if ( this->screen ) { |
979 if ( this->screen->flags & SDL_OPENGL ) { | 979 if ( this->screen->flags & SDL_INTERNALOPENGL ) { |
980 SDL_PrivateExpose(); | 980 SDL_PrivateExpose(); |
981 } else { | 981 } else { |
982 X11_RefreshDisplay(this); | 982 X11_RefreshDisplay(this); |
983 } | 983 } |
984 } | 984 } |