[client] make autoResize work again

This commit is contained in:
Geoffrey McRae 2017-12-08 19:01:01 +11:00
parent ad6c2ab544
commit 0ccb38940e

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();
}