Merged DRTVWR-546 into SL-16329
commit
d0b2395b89
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue