summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render/gl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/gl.cpp b/src/render/gl.cpp
index d18cd53..f2c8f8c 100644
--- a/src/render/gl.cpp
+++ b/src/render/gl.cpp
@@ -261,7 +261,8 @@ void gl_update_window( GL_DATA* gl, I32* size ) {
I32 height = size ? size[1] : 0;
gl_constrain_window_size( &width, &height );
SDL_SetWindowSize( gl->window, width, height );
- SDL_SetWindowPosition( gl->window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED );
+ // this giga breaks on linux, is it needed?
+ // SDL_SetWindowPosition( gl->window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED );
gl_handle_window_size_change( gl, width, height );
}