This commit is contained in:
Christoph Oelckers 2020-09-12 12:42:08 +02:00
parent 16deb64e32
commit adf4a25b38

View file

@ -1376,7 +1376,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
// PLAG : default cutoff removed
GLInterface.EnableBlend(true);
GLInterface.EnableAlphaTest(true);
GLInterface.SetAlphaThreshold(TileFiles.tiledata[globalpicnum].alphaThreshold);
GLInterface.SetAlphaThreshold(TileFiles.tiledata[globalpicnum].texture->alphaThreshold);
}
else
{