- fixed: shaded sprites need to disable the alpha test.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@418 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2009-08-09 19:08:47 +00:00
parent cf6c460444
commit b448ccc9cb

View file

@ -688,7 +688,7 @@ void GLSprite::Process(AActor* thing,sector_t * sector)
hw_styleflags = STYLEHW_Solid;
}
if (gltexture && gltexture->GetTransparent())
if ((gltexture && gltexture->GetTransparent()) || (RenderStyle.Flags & STYLEF_RedIsAlpha))
{
hw_styleflags = STYLEHW_NoAlphaTest;
}