fix: vsyncstate updating even if new and old states are same
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user