Default drawfrequency to 0, because of frame drop issues
Very apparent when using LIGH, which only stays on screen for one frame. Sometimes LIGH rendering is skipped entirely.
This commit is contained in:
parent
05f722b397
commit
54a2abce3b
@ -201,12 +201,6 @@ void SDLOpen()
|
||||
desktopWidth = rect.w;
|
||||
desktopHeight = rect.h;
|
||||
}
|
||||
|
||||
SDL_DisplayMode displayMode;
|
||||
if (!SDL_GetCurrentDisplayMode(displayIndex, &displayMode) && displayMode.refresh_rate >= 60)
|
||||
{
|
||||
ui::Engine::Ref().SetDrawingFrequencyLimit(displayMode.refresh_rate);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WIN
|
||||
|
Reference in New Issue
Block a user