The OpenGL test window shouldn't be visible.
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 22:52:07 -0800
changeset 5385 5f9c2515fc08
parent 5384 93d53f8a2323
child 5386 762e67f81fc7
The OpenGL test window shouldn't be visible.
src/video/SDL_video.c
--- a/src/video/SDL_video.c	Mon Feb 21 22:51:44 2011 -0800
+++ b/src/video/SDL_video.c	Mon Feb 21 22:52:07 2011 -0800
@@ -170,7 +170,7 @@
         SDL_GLContext context;
         SDL_bool hasAcceleratedOpenGL = SDL_FALSE;
 
-        window = SDL_CreateWindow("OpenGL test", -32, -32, 32, 32, SDL_WINDOW_OPENGL);
+        window = SDL_CreateWindow("OpenGL test", -32, -32, 32, 32, SDL_WINDOW_OPENGL|SDL_WINDOW_HIDDEN);
         if (window) {
             context = SDL_GL_CreateContext(window);
             if (context) {