gl: only display crosshairs when needed

regression due to 4f834610b3
This commit is contained in:
Flyinghead 2024-05-18 12:11:08 +02:00
parent 4f834610b3
commit ec82c7b9ed
1 changed files with 4 additions and 2 deletions

View File

@ -1064,8 +1064,10 @@ void drawVmusAndCrosshairs(int width, int height)
drawVmuTexture(i, width, height);
}
for (int i = 0 ; i < 4 ; i++)
drawGunCrosshair(i, width, height);
if (crosshairsNeeded()) {
for (int i = 0 ; i < 4 ; i++)
drawGunCrosshair(i, width, height);
}
glCheck();
}