From 2677e24a9969f359c4cb24c9ae48f92dd48fdc49 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 21 Feb 2021 15:40:54 -0700 Subject: [PATCH] LibGUI: Copy alpha channel as-is when keeping backing bitmaps in sync --- Userland/Libraries/LibGUI/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp index 92ebd89e2f..a6be58c01b 100644 --- a/Userland/Libraries/LibGUI/Window.cpp +++ b/Userland/Libraries/LibGUI/Window.cpp @@ -751,7 +751,7 @@ void Window::flip(const Vector& dirty_rects) // Copy whatever was painted from the front to the back. Painter painter(m_back_store->bitmap()); for (auto& dirty_rect : dirty_rects) - painter.blit(dirty_rect.location(), m_front_store->bitmap(), dirty_rect); + painter.blit(dirty_rect.location(), m_front_store->bitmap(), dirty_rect, 1.0f, false); m_back_store->bitmap().set_volatile(); }