mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed uninitialized shader variable in CG_DrawCrosshair()
This commit is contained in:
parent
defa297a56
commit
5568d160ab
1 changed files with 2 additions and 0 deletions
|
@ -1180,6 +1180,8 @@ void CG_DrawCrosshair()
|
|||
float x, y;
|
||||
float width, height;
|
||||
|
||||
shader = NULL;
|
||||
|
||||
if (!cg_hud->integer || !ui_crosshair->integer) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue