diff --git a/client/main.c b/client/main.c index a189e104..ff3fcf90 100644 --- a/client/main.c +++ b/client/main.c @@ -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(); }