mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: move PARM_SKY_SPHERE handling to the engine
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user