vbo: Fix return value

This commit is contained in:
mittorn 2019-02-07 04:58:18 +07:00
parent 119b458b0f
commit f7c60ea9d1

View File

@ -885,7 +885,7 @@ _inline qboolean R_HasLightmap( void )
if( RI.currententity ) if( RI.currententity )
{ {
if( RI.currententity->curstate.effects & EF_FULLBRIGHT ) if( RI.currententity->curstate.effects & EF_FULLBRIGHT )
return; // disabled by user return false; // disabled by user
// check for rendermode // check for rendermode
switch( RI.currententity->curstate.rendermode ) switch( RI.currententity->curstate.rendermode )