mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 17:44:35 +00:00
The OpenGL test window shouldn't be visible.
This commit is contained in:
parent
36be715703
commit
f817468a0b
@ -170,7 +170,7 @@ ShouldUseTextureFramebuffer()
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user