fix: vsyncstate updating even if new and old states are same

This commit is contained in:
2026-09-07 14:11:13 -04:00
parent bd2bafe8ae
commit 4f97d02e41
+2 -1
View File
@@ -43,7 +43,8 @@ void C4JRender::UpdateGamma(unsigned short usGamma)
void C4JRender::SetVSync(bool vs)
{
m_VSyncState = vs;
if(vs != m_VSyncState)
m_VSyncState = vs;
}
int C4JRender::GetVSync()