From fea2379d58f740759bf6b5ab4c14b07b7fe2196a Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 22 Jul 2020 20:43:42 +0900 Subject: [PATCH] Fix render bug by setting cache dirty on start --- src/state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state.cpp b/src/state.cpp index 829f5b5..e192645 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -46,6 +46,7 @@ bgColor(sf::Color::Black) flags.reset(8); } else { flags.set(8); + flags.set(7); drawCacheSprite.setTexture(drawCache.getTexture(), true); } }