From 46461e5c33bf05c1dfd716daf7923d41e8dedbc9 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 25 Mar 2023 23:04:40 +0200 Subject: [PATCH] Improve performance of window redraws --- client/windows/CWindowObject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/windows/CWindowObject.cpp b/client/windows/CWindowObject.cpp index b9072f76a..a75cb7b97 100644 --- a/client/windows/CWindowObject.cpp +++ b/client/windows/CWindowObject.cpp @@ -85,6 +85,7 @@ std::shared_ptr CWindowObject::createBg(std::string imageName, bool pl return nullptr; auto image = std::make_shared(imageName); + image->getSurface()->setBlitMode(EImageBlitMode::OPAQUE); if(playerColored) image->colorize(LOCPLINT->playerID); return image;