mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 20:40:39 +00:00
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:
parent
18b3984a97
commit
684da706f0
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue