From 0114c61cf1699f6225b6d7a05a1972425fc74557 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 21 Mar 2019 13:31:47 +0100 Subject: [PATCH] Userland: Turn off double buffering in QuickShow. Since this program is primarily used to display potentially huge but still static images, let's not put extra strain on the system by double buffering. --- Userland/qs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/qs.cpp b/Userland/qs.cpp index c6f5440815..5e0832d602 100644 --- a/Userland/qs.cpp +++ b/Userland/qs.cpp @@ -26,6 +26,8 @@ int main(int argc, char** argv) } auto* window = new GWindow; + + window->set_double_buffering_enabled(false); window->set_title(String::format("QuickShow: %s %s", path, bitmap->size().to_string().characters())); window->set_rect(200, 200, bitmap->width(), bitmap->height());