From 7ffafc8f4dc516b4557976950f483a2de74d51db Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 14 Feb 2021 17:59:20 -0800 Subject: [PATCH] Remove grphx.init() from Graphics::init() grphx.init() is going to be called again (after grphx.destroy()) in graphics.reloadresources() anyway, so there's no reason to have it here. --- desktop_version/src/Graphics.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 6cad1f7d..3124b6b3 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -15,8 +15,6 @@ void Graphics::init() { - grphx.init(); - flipmode = false; setRect(tiles_rect, 0,0,8,8); setRect(sprites_rect, 0,0,32,32);