Browse Source

ref: gl: remove usage of PARM_WORLD_VERSION

pull/2/head
Alibek Omarov 1 year ago
parent
commit
d22bbb4213
  1. 2
      ref/gl/gl_rsurf.c

2
ref/gl/gl_rsurf.c

@ -3819,7 +3819,7 @@ void GL_BuildLightmaps( void ) @@ -3819,7 +3819,7 @@ void GL_BuildLightmaps( void )
// update the lightmap blocksize
if( FBitSet( ENGINE_GET_PARM( PARM_FEATURES ), ENGINE_LARGE_LIGHTMAPS )
|| ENGINE_GET_PARM( PARM_WORLD_VERSION ) == QBSP2_VERSION )
|| tr.world->version == QBSP2_VERSION )
tr.block_size = BLOCK_SIZE_MAX;
else tr.block_size = BLOCK_SIZE_DEFAULT;

Loading…
Cancel
Save