mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 22:33:58 +00:00
[client] main: fix failure to obey win:autoResize
This commit is contained in:
parent
0f2fd84724
commit
9dd11b5e04
1 changed files with 7 additions and 4 deletions
|
@ -160,10 +160,13 @@ static int renderThread(void * unused)
|
||||||
const uint64_t now = microtime();
|
const uint64_t now = microtime();
|
||||||
if (!g_state.resizeDone && g_state.resizeTimeout < now)
|
if (!g_state.resizeDone && g_state.resizeTimeout < now)
|
||||||
{
|
{
|
||||||
g_state.ds->setWindowSize(
|
if (g_params.autoResize)
|
||||||
g_state.dstRect.w,
|
{
|
||||||
g_state.dstRect.h
|
g_state.ds->setWindowSize(
|
||||||
);
|
g_state.dstRect.w,
|
||||||
|
g_state.dstRect.h
|
||||||
|
);
|
||||||
|
}
|
||||||
g_state.resizeDone = true;
|
g_state.resizeDone = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue