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.
This commit is contained in:
NyakoFox authored and Ethan Lee committed 2026-10-08 18:03:31 -04:00
1 parent 7b9d85a868
commit 600d87fe4b
1 file changed
+1 -2
+1 -2
View File
@@ -3718,8 +3718,7 @@ void Graphics::draw_screenshot_border(void)
int width = 0; int width = 0;
int height = 0; int height = 0;
int result = query_texture(gameTexture, NULL, NULL, &width, &height); if (!query_texture(gameTexture, NULL, NULL, &width, &height))
if (result != 0)
{ {
return; return;
} }