- disable transparency testing, unless explicitly requested.

Fixes #60
This commit is contained in:
Christoph Oelckers 2020-07-28 21:28:10 +02:00
parent b49d04fd6e
commit 3bcef7d587

View file

@ -411,7 +411,7 @@ static void polymost_drawpoly(vec2f_t const * const dpxy, int32_t const n, int32
SetRenderStyleFromBlend((method & DAMETH_MASKPROPS) > DAMETH_MASK, drawpoly_blend, (method & DAMETH_MASKPROPS) == DAMETH_TRANS2); SetRenderStyleFromBlend((method & DAMETH_MASKPROPS) > DAMETH_MASK, drawpoly_blend, (method & DAMETH_MASKPROPS) == DAMETH_TRANS2);
} }
if (!(method & (DAMETH_WALL | DAMETH_CLAMPED | DAMETH_MASK))) if (!(method & (DAMETH_CLAMPED | DAMETH_MASKPROPS)))
GLInterface.SetTextureMode(TM_OPAQUE); GLInterface.SetTextureMode(TM_OPAQUE);
float pc[4]; float pc[4];