mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 13:54:15 +00:00
ref: gl: fix r_showhull check
This commit is contained in:
parent
f49a2bc8f3
commit
16595bf2c0
@ -39,7 +39,7 @@ void R_DrawWorldHull( void )
|
|||||||
ClearBits( r_showhull->flags, FCVAR_CHANGED );
|
ClearBits( r_showhull->flags, FCVAR_CHANGED );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !r_showhull->flags )
|
if( !r_showhull->value )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pglDisable( GL_TEXTURE_2D );
|
pglDisable( GL_TEXTURE_2D );
|
||||||
@ -62,7 +62,7 @@ void R_DrawModelHull( void )
|
|||||||
winding_t *poly;
|
winding_t *poly;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if( !r_showhull->flags )
|
if( !r_showhull->value )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( !RI.currentmodel || RI.currentmodel->name[0] != '*' )
|
if( !RI.currentmodel || RI.currentmodel->name[0] != '*' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user