Commit 1585e73f authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: fix polymost masked wall regression introduced in fd598dfe

parent b55eca7f
......@@ -7063,15 +7063,13 @@ static void renderDrawMaskedWall(int16_t damaskwallcnt)
#ifdef USE_OPENGL
if (videoGetRenderMode() != REND_CLASSIC)
{
buildgl_setEnabled(GL_ALPHA_TEST);
buildgl_setEnabled(GL_BLEND);
if (videoGetRenderMode() == REND_POLYMOST)
polymost_drawmaskwall(damaskwallcnt);
# ifdef POLYMER
else
{
buildgl_setEnabled(GL_ALPHA_TEST);
buildgl_setEnabled(GL_BLEND);
polymer_drawmaskwall(damaskwallcnt);
}
else polymer_drawmaskwall(damaskwallcnt);
# endif
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment