diff test/common.c @ 1924:69217fdd2c0a

If the OpenGL renderer is selected for a non-OpenGL window, recreate the window with OpenGL enabled. Added OpenGL renderer error checking. Use fast-path texture formats in the OpenGL renderer.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 22 Jul 2006 21:02:57 +0000
parents d4572b97b08f
children 7ee5297340f7
line wrap: on
line diff
--- a/test/common.c	Sat Jul 22 19:51:48 2006 +0000
+++ b/test/common.c	Sat Jul 22 21:02:57 2006 +0000
@@ -55,9 +55,6 @@
         if (!argv[index]) {
             return -1;
         }
-        if (SDL_strcasecmp(argv[index], "opengl") == 0) {
-            state->window_flags |= SDL_WINDOW_OPENGL;
-        }
         state->renderdriver = argv[index];
         return 2;
     }