mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 14:57:04 +00:00
[client] main: fix failure to obey win:autoResize
This commit is contained in:
parent
0f2fd84724
commit
9dd11b5e04
@ -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 New Issue
Block a user