src/video/photon/SDL_ph_video.c
changeset 837 4bc7e16a13ed
parent 821 30168104389f
child 886 05c551e5bc64
--- a/src/video/photon/SDL_ph_video.c	Tue Feb 17 04:48:16 2004 +0000
+++ b/src/video/photon/SDL_ph_video.c	Tue Feb 17 16:19:29 2004 +0000
@@ -495,8 +495,6 @@
     if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
     {
 #if !defined(HAVE_OPENGL)
-    if ((current->flags & SDL_OPENGL)==SDL_OPENGL)
-    {
         /* if no built-in OpenGL support */
         SDL_SetError("ph_SetVideoMode(): no OpenGL support, you need to recompile SDL.\n");
         current->flags &= ~SDL_OPENGL;