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

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