shithub: choc

Download patch

ref: 413f4ecd7aae41229cc7b40ea3275970dc18cdb4
parent: 8204450bacabb136ab739f9263956cfabc10c905
author: Fabian Greffrath <[email protected]>
date: Sat Nov 4 09:32:15 EDT 2017

video: disable VSYNC if software rendering is enforced

Fixes #955, thanks @JNechaevsky

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1220,6 +1220,7 @@
     if (force_software_renderer)
     {
         renderer_flags |= SDL_RENDERER_SOFTWARE;
+        renderer_flags &= ~SDL_RENDERER_PRESENTVSYNC;
     }
 
     if (renderer != NULL)