ref: move PARM_SKY_SPHERE handling to the engine

This commit is contained in:
Alibek Omarov
2024-06-10 22:54:01 +03:00
parent 30fe471d2b
commit 2c2045d413
2 changed files with 2 additions and 2 deletions

View File

@@ -235,8 +235,6 @@ static int GL_RefGetParm( int parm, int arg )
return glConfig.wrapper;
case PARM_STENCIL_ACTIVE:
return glState.stencilEnabled;
case PARM_SKY_SPHERE:
return FBitSet( tr.world->flags, FWORLD_SKYSPHERE ) && !FBitSet( tr.world->flags, FWORLD_CUSTOM_SKYBOX );
case PARM_TEX_FILTERING:
if( arg < 0 )
return gl_texture_nearest.value == 0.0f;