shithub: ft²

Download patch

ref: 9217cd8b187d4626644151aa30c8ac6f88a6e563
parent: dc624b813e7e8d6eb819efdad02087c4e01ffef1
author: Olav Sørensen <[email protected]>
date: Fri Jan 1 15:45:03 EST 2021

Remove SD_RENDERER_ACCELERATED flag (fixes problems in rare cases)

--- a/src/ft2_video.c
+++ b/src/ft2_video.c
@@ -933,7 +933,7 @@
 
 bool setupRenderer(void)
 {
-	uint32_t rendererFlags = SDL_RENDERER_ACCELERATED;
+	uint32_t rendererFlags = 0;
 	if (video.vsync60HzPresent)
 		rendererFlags |= SDL_RENDERER_PRESENTVSYNC;