mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 10:08:24 +00:00
parent
507732587e
commit
1d3a23e051
@ -862,6 +862,9 @@ int run()
|
|||||||
if (!params.center)
|
if (!params.center)
|
||||||
SDL_SetWindowPosition(state.window, params.x, params.y);
|
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
|
// set the compositor hint to bypass for low latency
|
||||||
SDL_SysWMinfo wminfo;
|
SDL_SysWMinfo wminfo;
|
||||||
SDL_VERSION(&wminfo.version);
|
SDL_VERSION(&wminfo.version);
|
||||||
|
Loading…
Reference in New Issue
Block a user