Add settings option to disable V-sync for lowest possible latency on Windows
This commit is contained in:
parent
7661f5a3d7
commit
f9cdd49d2e
4 changed files with 27 additions and 8 deletions
|
|
@ -834,7 +834,7 @@ void Session::exec()
|
|||
if (!chooseDecoder(m_Preferences.videoDecoderSelection,
|
||||
m_Window, m_ActiveVideoFormat, m_ActiveVideoWidth,
|
||||
m_ActiveVideoHeight, m_ActiveVideoFrameRate,
|
||||
true, // TODO: User configuration for V-sync
|
||||
m_Preferences.enableVsync,
|
||||
s_ActiveSession->m_VideoDecoder)) {
|
||||
SDL_AtomicUnlock(&m_DecoderLock);
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue