Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_video.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 | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
473 { | 473 { |
474 SDL_SetError("ph_SetVideoMode(): desired bpp is not supported by photon !\n"); | 474 SDL_SetError("ph_SetVideoMode(): desired bpp is not supported by photon !\n"); |
475 return NULL; | 475 return NULL; |
476 } | 476 } |
477 | 477 |
478 if ((current->flags & SDL_OPENGL)==SDL_OPENGL) | 478 if (current->flags & SDL_INTERNALOPENGL) |
479 { | 479 { |
480 #if !SDL_VIDEO_OPENGL | 480 #if !SDL_VIDEO_OPENGL |
481 /* if no built-in OpenGL support */ | 481 /* if no built-in OpenGL support */ |
482 SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n"); | 482 SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n"); |
483 current->flags &= ~SDL_OPENGL; | 483 current->flags &= ~SDL_INTERNALOPENGL; |
484 return NULL; | 484 return NULL; |
485 #endif /* SDL_VIDEO_OPENGL */ | 485 #endif /* SDL_VIDEO_OPENGL */ |
486 } | 486 } |
487 else | 487 else |
488 { | 488 { |