ref: 8ffc3f30a12d8e4b8aa5a05cb6477c7bc5dfb570
parent: a53e14793a11a6af0b83bdbd94772c47ee41e44b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Jan 11 09:10:49 EST 2024
sdl: don't force software renderer
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -191,8 +191,7 @@
SDL_SetWindowResizable(win, SDL_TRUE);
SDL_SetWindowMinimumSize(win, 320, 240);
rend = SDL_CreateRenderer(win, -1,
- (v_sync.value ? SDL_RENDERER_PRESENTVSYNC : 0) |
- SDL_RENDERER_SOFTWARE
+ (v_sync.value ? SDL_RENDERER_PRESENTVSYNC : 0)
);
if(rend == nil)
fatal("SDL_CreateRenderer: %s", SDL_GetError());