test/testgl2.c
changeset 2178 114a541cfae2
parent 1985 8055185ae4ed
child 2228 bb67fd5ccfdb
--- a/test/testgl2.c	Thu Jul 12 05:32:07 2007 +0000
+++ b/test/testgl2.c	Thu Jul 12 06:31:36 2007 +0000
@@ -225,10 +225,6 @@
         fprintf(stderr, "SDL_GL_CreateContext(): %s\n", SDL_GetError());
         quit(2);
     }
-    if (SDL_GL_MakeCurrent(state->windows[0], context) < 0) {
-        fprintf(stderr, "SDL_GL_MakeCurrent(): %s\n", SDL_GetError());
-        quit(2);
-    }
 
     if (state->render_flags & SDL_RENDERER_PRESENTVSYNC) {
         SDL_GL_SetSwapInterval(1);