src/video/SDL_video.c
changeset 5385 5f9c2515fc08
parent 5384 93d53f8a2323
child 5398 83816c8a2b58
--- 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) {