Mercurial > sdl-ios-xcode
comparison src/video/cybergfx/SDL_cgximage.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | d910939febfa |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
133 | 133 |
134 D(bug("Calling ResizeImage()\n")); | 134 D(bug("Calling ResizeImage()\n")); |
135 | 135 |
136 CGX_DestroyImage(this, screen); | 136 CGX_DestroyImage(this, screen); |
137 | 137 |
138 if ( flags & SDL_OPENGL ) { /* No image when using GL */ | 138 if ( flags & SDL_INTERNALOPENGL ) { /* No image when using GL */ |
139 retval = 0; | 139 retval = 0; |
140 } else { | 140 } else { |
141 retval = CGX_SetupImage(this, screen); | 141 retval = CGX_SetupImage(this, screen); |
142 /* We support asynchronous blitting on the display */ | 142 /* We support asynchronous blitting on the display */ |
143 if ( flags & SDL_ASYNCBLIT ) { | 143 if ( flags & SDL_ASYNCBLIT ) { |