mirror of https://github.com/ZDoom/gzdoom-gles.git
- restored a line that got accidentally deleted.
This commit is contained in:
parent
e5f88a9883
commit
56a60ebe85
|
@ -398,6 +398,7 @@ void FFlatVertexBuffer::UpdatePlaneVertices(sector_t *sec, int plane)
|
||||||
|
|
||||||
void FFlatVertexBuffer::CreateVBO()
|
void FFlatVertexBuffer::CreateVBO()
|
||||||
{
|
{
|
||||||
|
vbo_shadowdata.Reserve(mNumReserved);
|
||||||
CreateFlatVBO();
|
CreateFlatVBO();
|
||||||
mCurIndex = mIndex = vbo_shadowdata.Size();
|
mCurIndex = mIndex = vbo_shadowdata.Size();
|
||||||
memcpy(map, &vbo_shadowdata[0], vbo_shadowdata.Size() * sizeof(FFlatVertex));
|
memcpy(map, &vbo_shadowdata[0], vbo_shadowdata.Size() * sizeof(FFlatVertex));
|
||||||
|
|
Loading…
Reference in New Issue