Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_modes.c @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | c71e05b4dc2e |
children | d910939febfa |
comparison
equal
deleted
inserted
replaced
1360:70a9cfb4cf1b | 1361:19418e4422cb |
---|---|
308 | 308 |
309 if (this->screen) | 309 if (this->screen) |
310 { | 310 { |
311 if ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL) | 311 if ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL) |
312 { | 312 { |
313 #ifdef HAVE_OPENGL | 313 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) |
314 #if (_NTO_VERSION < 630) | 314 return 0; /* 6.3.0 */ |
315 return 0; | 315 #endif |
316 #endif /* 6.3.0 */ | |
317 #else | |
318 return 0; | |
319 #endif /* HAVE_OPENGL */ | |
320 } | 316 } |
321 } | 317 } |
322 | 318 |
323 if (fmode==0) | 319 if (fmode==0) |
324 { | 320 { |
348 | 344 |
349 if (currently_fullscreen) | 345 if (currently_fullscreen) |
350 { | 346 { |
351 if ((this->screen) && ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL)) | 347 if ((this->screen) && ((this->screen->flags & SDL_OPENGL)==SDL_OPENGL)) |
352 { | 348 { |
353 #ifdef HAVE_OPENGL | 349 #if !SDL_VIDEO_OPENGL || (_NTO_VERSION < 630) |
354 #if (_NTO_VERSION < 630) | |
355 return 0; | 350 return 0; |
356 #endif /* 6.3.0 */ | 351 #endif |
357 #else | |
358 return 0; | |
359 #endif /* HAVE_OPENGL */ | |
360 } | 352 } |
361 | 353 |
362 /* release routines starts here */ | 354 /* release routines starts here */ |
363 { | 355 { |
364 if (OCImage.direct_context) | 356 if (OCImage.direct_context) |