Merged DRTVWR-546 into SL-16329

master
Vir Linden 2021-11-10 17:31:47 +00:00
commit d0b2395b89
2 changed files with 14 additions and 12 deletions

View File

@ -243,7 +243,9 @@ static bool handleAnisotropicChanged(const LLSD& newvalue)
static bool handleVSyncChanged(const LLSD& newvalue)
{
#if LL_WINDOWS
gViewerWindow->getWindow()->toggleVSync(newvalue.asBoolean());
#endif
return true;
}

View File

@ -102,6 +102,18 @@
Low
</text>
<check_box
control_name="RenderVSyncEnable"
height="16"
initial_value="true"
label="Enable VSync"
layout="topleft"
left="30"
top_delta="16"
name="vsync"
tool_tip="Synchronizes the frame rate to the refresh rate of the monitor, which results in smooth performance."
width="315" />
<text
type="string"
length="1"
@ -333,18 +345,6 @@
top_delta="16"
width="256" />
<check_box
control_name="RenderVSyncEnable"
height="16"
initial_value="true"
label="Enable VSync"
layout="topleft"
left="30"
top_delta="16"
name="vsync"
tool_tip="Synchronizes the frame rate to the refresh rate of the monitor, which results in smooth performance."
width="315" />
<check_box
control_name="RenderCompressTextures"
height="16"