From 05e7fc4e439f9e01a15949fd7cea1e42da79f786 Mon Sep 17 00:00:00 2001 From: Guldoman Date: Sat, 21 Oct 2023 08:16:32 +0200 Subject: [PATCH] Set SDL hint to prefer software render driver (#1646) --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 7cba80c1..252b0f45 100644 --- a/src/main.c +++ b/src/main.c @@ -160,6 +160,8 @@ int main(int argc, char **argv) { SDL_SetHint("SDL_MOUSE_DOUBLE_CLICK_RADIUS", "4"); #endif + SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software"); + SDL_DisplayMode dm; SDL_GetCurrentDisplayMode(0, &dm);