Mercurial > sdl-ios-xcode
diff src/video/dc/SDL_dcvideo.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | 11134dc42da8 |
children | 782fd950bd46 |
line wrap: on
line diff
--- a/src/video/dc/SDL_dcvideo.c Fri Apr 28 16:55:41 2006 +0000 +++ b/src/video/dc/SDL_dcvideo.c Mon May 01 06:58:33 2006 +0000 @@ -167,7 +167,7 @@ case 16: return &vid_modes; case 32: - if (!(flags & SDL_OPENGL)) + if (!(flags & SDL_INTERNALOPENGL)) return &vid_modes; default: return NULL; @@ -220,7 +220,7 @@ Gmask = 0x0000ff00; Bmask = 0x000000ff; #if SDL_VIDEO_OPENGL - if (!(flags & SDL_OPENGL)) + if (!(flags & SDL_INTERNALOPENGL)) #endif break; default: @@ -252,9 +252,9 @@ current->pixels = vram_s; #if SDL_VIDEO_OPENGL - if (flags & SDL_OPENGL) { + if (flags & SDL_INTERNALOPENGL) { this->gl_config.driver_loaded = 1; - current->flags = SDL_FULLSCREEN | SDL_OPENGL; + current->flags = SDL_FULLSCREEN | SDL_INTERNALOPENGL; current->pixels = NULL; pvr_inited = 1; pvr_init(¶ms);