Mercurial > sdl-ios-xcode
diff src/video/photon/SDL_ph_image.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 |
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_image.c Fri Apr 28 16:55:41 2006 +0000 +++ b/src/video/photon/SDL_ph_image.c Mon May 01 06:58:33 2006 +0000 @@ -315,7 +315,7 @@ if (ph_SetupOpenGLContext(this, screen->w, screen->h, screen->format->BitsPerPixel, screen->flags)!=0) { - screen->flags &= ~SDL_OPENGL; + screen->flags &= ~SDL_INTERNALOPENGL; return -1; } @@ -328,7 +328,7 @@ { #if SDL_VIDEO_OPENGL - if ((screen->flags & SDL_OPENGL)==SDL_OPENGL) + if (screen->flags & SDL_INTERNALOPENGL) { if (oglctx) { @@ -486,7 +486,7 @@ ph_DestroyImage(this, screen); #if SDL_VIDEO_OPENGL - if ((flags & SDL_OPENGL)==SDL_OPENGL) + if (flags & SDL_INTERNALOPENGL) { setupresult=ph_SetupOpenGLImage(this, screen); }