mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
parent
507732587e
commit
1d3a23e051
@ -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 New Issue
Block a user