mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
parent
507732587e
commit
1d3a23e051
1 changed files with 3 additions and 0 deletions
|
@ -862,6 +862,9 @@ int run()
|
|||
if (!params.center)
|
||||
SDL_SetWindowPosition(state.window, params.x, params.y);
|
||||
|
||||
// ensure the initial window size is stored in the state
|
||||
SDL_GetWindowSize(state.window, &state.windowW, &state.windowH);
|
||||
|
||||
// set the compositor hint to bypass for low latency
|
||||
SDL_SysWMinfo wminfo;
|
||||
SDL_VERSION(&wminfo.version);
|
||||
|
|
Loading…
Reference in a new issue