mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +03:00
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:
1 parent
7b9d85a868
commit
600d87fe4b
1 file changed
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user