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