Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_modes.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 |
---|---|
307 return 0; | 307 return 0; |
308 } | 308 } |
309 | 309 |
310 if (this->screen) | 310 if (this->screen) |
311 { | 311 { |
312 if ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL) | 312 if (this->screen->flags & SDL_INTERNALOPENGL) |
313 { | 313 { |
314 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) | 314 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) |
315 return 0; /* 6.3.0 */ | 315 return 0; /* 6.3.0 */ |
316 #endif | 316 #endif |
317 } | 317 } |
343 { | 343 { |
344 PgDisplaySettings_t oldmode_settings; | 344 PgDisplaySettings_t oldmode_settings; |
345 | 345 |
346 if (currently_fullscreen) | 346 if (currently_fullscreen) |
347 { | 347 { |
348 if ((this->screen) && ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL)) | 348 if ((this->screen) && (this->screen->flags & SDL_INTERNALOPENGL)) |
349 { | 349 { |
350 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) | 350 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) |
351 return 0; | 351 return 0; |
352 #endif | 352 #endif |
353 } | 353 } |