Browse Source

vbo: Fix return value

pull/2/head
mittorn 6 years ago
parent
commit
f7c60ea9d1
  1. 2
      engine/client/gl_rsurf.c

2
engine/client/gl_rsurf.c

@ -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 )

Loading…
Cancel
Save