From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Tue, 30 Mar 2021 17:26:39 +0200 Subject: [PATCH] Disable SDL accelerated rendering That's not supported on serenity. --- src/app/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/main.c b/src/app/main.c index cfd46b8..fc47912 100644 --- a/src/app/main.c +++ b/src/app/main.c @@ -47,7 +47,7 @@ bool init_graphics(gpu *g) SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, X_RES * WINDOW_SCALE, Y_RES * WINDOW_SCALE, - SDL_WINDOW_OPENGL); + 0); if (sdl_graphics_ptr->window == NULL) { @@ -58,7 +58,7 @@ bool init_graphics(gpu *g) sdl_graphics_ptr->renderer = SDL_CreateRenderer(sdl_graphics_ptr->window, -1, - SDL_RENDERER_ACCELERATED); + 0); if (sdl_graphics_ptr->renderer == NULL) {