- add vertex buffer based drawing for all walls and flats.

This commit is contained in:
Christoph Oelckers 2014-05-11 01:23:27 +02:00
commit f7404d20fb
7 changed files with 272 additions and 29 deletions

View file

@ -296,6 +296,7 @@ void FFlatVertexBuffer::CreateVBO()
{
CreateFlatVBO();
memcpy(map, &vbo_shadowdata[0], vbo_shadowdata.Size() * sizeof(FFlatVertex));
mIndex = vbo_shadowdata.Size();
}
else if (sectors)
{