Mercurial > sdl-ios-xcode
diff src/video/macdsp/SDL_dspvideo.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 8d9bb0cf2c2a |
children | 14717b52abc0 |
line wrap: on
line diff
--- a/src/video/macdsp/SDL_dspvideo.c Fri Apr 28 16:55:41 2006 +0000 +++ b/src/video/macdsp/SDL_dspvideo.c Mon May 01 06:58:33 2006 +0000 @@ -722,7 +722,7 @@ { - if ( current->flags & SDL_OPENGL ) { + if ( current->flags & SDL_INTERNALOPENGL ) { Mac_GL_Quit (this); } @@ -918,14 +918,14 @@ } - if ( (current->flags & SDL_HWSURFACE) || (current->flags & SDL_OPENGL) ) + if ( (current->flags & SDL_HWSURFACE) || (current->flags & SDL_INTERNALOPENGL) ) DSpContext_SetVBLProc (dsp_context, DSp_VBLProc, NULL); #endif if (bpp == 8) current->flags |= SDL_HWPALETTE; - if (flags & SDL_OPENGL) { + if (flags & SDL_INTERNALOPENGL) { Rect rect; RGBColor rgb = { 0.0, 0.0, 0.0 }; @@ -960,7 +960,7 @@ return NULL; } - current->flags |= SDL_OPENGL; + current->flags |= SDL_INTERNALOPENGL; } return current;