mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 23:41:56 +00:00
- missed something for last commit.
This commit is contained in:
parent
d3246be488
commit
71f4bacbd7
1 changed files with 1 additions and 2 deletions
|
@ -899,8 +899,7 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
|
||||||
// This is a non-translucent sprite (i.e. STYLE_Normal or equivalent)
|
// This is a non-translucent sprite (i.e. STYLE_Normal or equivalent)
|
||||||
trans=1.f;
|
trans=1.f;
|
||||||
|
|
||||||
|
if (!gl_sprite_blend || modelframe || (thing->renderflags & RF_SPRITETYPEMASK) == RF_WALLSPRITE)
|
||||||
if (!gl_sprite_blend || modelframe)
|
|
||||||
{
|
{
|
||||||
RenderStyle.SrcAlpha = STYLEALPHA_One;
|
RenderStyle.SrcAlpha = STYLEALPHA_One;
|
||||||
RenderStyle.DestAlpha = STYLEALPHA_Zero;
|
RenderStyle.DestAlpha = STYLEALPHA_Zero;
|
||||||
|
|
Loading…
Reference in a new issue