mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: disable blend after we're done drawing sprite "lightmap"
Fixes translucent brush model on renderfx2.bsp (https://twhl.info/vault/view/6933) which so happened to draw after agrunt sprite, that has "lightmap" enabled
This commit is contained in:
@@ -891,6 +891,7 @@ void R_DrawSpriteModel( cl_entity_t *e )
|
||||
R_DrawSpriteQuad( frame, origin, v_right, v_up, scale );
|
||||
pglAlphaFunc( GL_GREATER, DEFAULT_ALPHATEST );
|
||||
pglDepthFunc( GL_LEQUAL );
|
||||
pglDisable( GL_BLEND );
|
||||
}
|
||||
|
||||
if( psprite->facecull == SPR_CULL_NONE )
|
||||
|
||||
Reference in New Issue
Block a user