[client] make autoResize work again

This commit is contained in:
Geoffrey McRae committed 2017-12-12 03:59:58 +11:00
1 parent ad6c2ab544
commit 0ccb38940e
1 file changed
+2
+2
View File
@@ -323,6 +323,8 @@ int renderThread(void * unused)
state.srcSize.x = header.width;
state.srcSize.y = header.height;
if (params.autoResize)
SDL_SetWindowSize(state.window, header.width, header.height);
updatePositionInfo();
}