- removed empty gl_wall.h.

This commit is contained in:
Christoph Oelckers 2018-04-29 11:40:47 +02:00
commit ec13b77717
3 changed files with 7 additions and 31 deletions

View file

@ -157,13 +157,9 @@ FFlatVertexBuffer::FFlatVertexBuffer(int width, int height)
mIndex = mCurIndex = 0;
mNumReserved = NUM_RESERVED;
if (gl.buffermethod == BM_DEFERRED)
{
Map();
memcpy(map, &vbo_shadowdata[0], mNumReserved * sizeof(FFlatVertex));
Unmap();
}
Map();
memcpy(map, &vbo_shadowdata[0], mNumReserved * sizeof(FFlatVertex));
Unmap();
}
FFlatVertexBuffer::~FFlatVertexBuffer()