Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11image.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 3ba88cb7eb1b |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
183 int X11_ResizeImage(_THIS, SDL_Surface *screen, Uint32 flags) | 183 int X11_ResizeImage(_THIS, SDL_Surface *screen, Uint32 flags) |
184 { | 184 { |
185 int retval; | 185 int retval; |
186 | 186 |
187 X11_DestroyImage(this, screen); | 187 X11_DestroyImage(this, screen); |
188 if ( flags & SDL_OPENGL ) { /* No image when using GL */ | 188 if ( flags & SDL_INTERNALOPENGL ) { /* No image when using GL */ |
189 retval = 0; | 189 retval = 0; |
190 } else { | 190 } else { |
191 retval = X11_SetupImage(this, screen); | 191 retval = X11_SetupImage(this, screen); |
192 /* We support asynchronous blitting on the display */ | 192 /* We support asynchronous blitting on the display */ |
193 if ( flags & SDL_ASYNCBLIT ) { | 193 if ( flags & SDL_ASYNCBLIT ) { |