From 3af193d5eb2a715ccfa1634efd080c72beecc073 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Fri, 27 Jun 2025 20:54:50 +0200 Subject: [PATCH] fix Screen: arreglats els shaders en macos i linux --- source/screen.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/screen.cpp b/source/screen.cpp index afd85ce..49d778b 100644 --- a/source/screen.cpp +++ b/source/screen.cpp @@ -59,14 +59,8 @@ Screen::Screen() #endif // Inicializa los shaders + SDL_RenderTexture(renderer_, game_canvas_, nullptr, nullptr); initShaders(); - - // Al parecer los shaders en macos y linux no funcionan si no se ha renderizado almenos una vez - auto temp = Options::video.shaders; - Options::video.shaders = false; - clean(); - SDL_RenderPresent(renderer_); - Options::video.shaders = temp; } // Destructor