shithub: choc

Download patch

ref: 098632eacf994311f735ab9ef41548dfcc23abf4
parent: f700744969ac867649aa581ae19447a4c172179e
parent: a0e667de8678b045f8f08a7d87ba86239e33fa6b
author: Simon Howard <fraggle@soulsphere.org>
date: Wed Sep 30 09:37:35 EDT 2020

Merge pull request #1315 from chocolate-doom/txt_render_software

textscreen: deliberately create a software renderer

--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -253,7 +253,7 @@
     if (TXT_SDLWindow == NULL)
         return 0;
 
-    renderer = SDL_CreateRenderer(TXT_SDLWindow, -1, 0);
+    renderer = SDL_CreateRenderer(TXT_SDLWindow, -1, SDL_RENDERER_SOFTWARE);
 
     // Special handling for OS X retina display. If we successfully set the
     // highdpi flag, check the output size for the screen renderer. If we get