Fix automap lines in Polymer mode

git-svn-id: https://svn.eduke32.com/eduke32@5267 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
Plagman 2015-06-14 23:42:52 +00:00
parent 18b3984a97
commit 684da706f0

View file

@ -16372,8 +16372,11 @@ void drawline256(int32_t x1, int32_t y1, int32_t x2, int32_t y2, char col)
bglMatrixMode(GL_PROJECTION);
bglLoadIdentity();
bglOrtho(0, xres, yres, 0, -1, 1);
// bglMatrixMode(GL_MODELVIEW);
// bglLoadIdentity();
if (getrendermode() == REND_POLYMER)
{
bglMatrixMode(GL_MODELVIEW);
bglLoadIdentity();
}
gloy1 = -1;
bglDisable(GL_ALPHA_TEST);