- removed empty gl_wall.h.
This commit is contained in:
parent
634b3cf413
commit
ec13b77717
3 changed files with 7 additions and 31 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue