comparison src/video/photon/SDL_ph_video.c @ 837:4bc7e16a13ed

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 17 Feb 2004 16:19:29 +0000
parents 30168104389f
children 05c551e5bc64
comparison
equal deleted inserted replaced
836:37f9aeebcbb4 837:4bc7e16a13ed
493 } 493 }
494 494
495 if ((current->flags & SDL_OPENGL)==SDL_OPENGL) 495 if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
496 { 496 {
497 #if !defined(HAVE_OPENGL) 497 #if !defined(HAVE_OPENGL)
498 if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
499 {
500 /* if no built-in OpenGL support */ 498 /* if no built-in OpenGL support */
501 SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n"); 499 SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
502 current->flags &= ~SDL_OPENGL; 500 current->flags &= ~SDL_OPENGL;
503 return NULL; 501 return NULL;
504 #endif /* HAVE_OPENGL */ 502 #endif /* HAVE_OPENGL */