- Merged the separate line and quad vertex buffers in D3DFB back into a single

vertex buffer, made line batching automatic, and added an index buffer for
  use when batching quads. The index buffer actually offered more of a
  performance boost than simply batching the quads alone did.


SVN r685 (trunk)
This commit is contained in:
Randy Heit 2008-01-09 21:04:21 +00:00
commit 0b4092e98e
8 changed files with 219 additions and 287 deletions

View file

@ -1794,8 +1794,6 @@ void AM_Drawer ()
}
AM_activateNewScale();
screen->BeginLineDrawing();
if (grid)
AM_drawGrid(GridColor);
@ -1804,8 +1802,6 @@ void AM_Drawer ()
if (am_cheat >= 2 || allthings)
AM_drawThings();
screen->EndLineDrawing();
AM_drawAuthorMarkers();
if (!viewactive)