[client] make autoResize work again
This commit is contained in:
1 parent
ad6c2ab544
commit
0ccb38940e
1 file changed
+2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user