- added some helper code mainly designed to help GZDoom maintain the vertex buffer for the textured automap.

This commit is contained in:
Christoph Oelckers 2016-08-06 19:20:41 +02:00
commit fd7b833ad5
3 changed files with 18 additions and 0 deletions

View file

@ -1897,6 +1897,7 @@ void AM_drawSubsectors()
FDynamicColormap *colormap;
mpoint_t originpt;
screen->StartSimplePolys();
for (int i = 0; i < numsubsectors; ++i)
{
if (subsectors[i].flags & SSECF_POLYORG)
@ -2049,6 +2050,7 @@ void AM_drawSubsectors()
);
}
}
screen->FinishSimplePolys();
}
//=============================================================================