From 600d87fe4b5ccd45ccab2209db1f821751794a70 Mon Sep 17 00:00:00 2001 From: NyakoFox Date: Thu, 8 Oct 2026 17:26:44 -0300 Subject: [PATCH] Fix screenshot overlay not appearing This was another thing that checked for an int value rather than a boolean, making the display never show. This commit fixes that. --- desktop_version/src/Graphics.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 1a09dbe9..7a15e829 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -3718,8 +3718,7 @@ void Graphics::draw_screenshot_border(void) int width = 0; int height = 0; - int result = query_texture(gameTexture, NULL, NULL, &width, &height); - if (result != 0) + if (!query_texture(gameTexture, NULL, NULL, &width, &height)) { return; }