mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +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();
|
||||
if (!g_state.resizeDone && g_state.resizeTimeout < now)
|
||||
{
|
||||
g_state.ds->setWindowSize(
|
||||
g_state.dstRect.w,
|
||||
g_state.dstRect.h
|
||||
);
|
||||
if (g_params.autoResize)
|
||||
{
|
||||
g_state.ds->setWindowSize(
|
||||
g_state.dstRect.w,
|
||||
g_state.dstRect.h
|
||||
);
|
||||
}
|
||||
g_state.resizeDone = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue