mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- draw wall sprites without translucent pixels as opaque. This looses the border smoothing with texture filtering but avoids sorting problems.
This commit is contained in:
parent
30cb651d92
commit
d3246be488
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ inline void GLSprite::PutSprite(bool translucent)
|
|||
{
|
||||
int list;
|
||||
// [BB] Allow models to be drawn in the GLDL_TRANSLUCENT pass.
|
||||
if (translucent || !modelframe)
|
||||
if (translucent || (!modelframe && (actor->renderflags & RF_SPRITETYPEMASK) != RF_WALLSPRITE))
|
||||
{
|
||||
list = GLDL_TRANSLUCENT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue