Reordering initialization methods #1912

This commit is contained in:
Masquara 2017-04-11 00:45:02 -04:00
parent e724b2fcdd
commit 970dd5c477
70 changed files with 207 additions and 205 deletions

View file

@ -36,8 +36,9 @@ GLCircularVolatileBuffer* getCircularVolatileIndexBuffer()
}
GFXGLPrimitiveBuffer::GFXGLPrimitiveBuffer(GFXDevice *device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType) :
GFXPrimitiveBuffer(device, indexCount, primitiveCount, bufferType), mZombieCache(NULL),
mBufferOffset(0)
GFXPrimitiveBuffer(device, indexCount, primitiveCount, bufferType),
mBufferOffset(0),
mZombieCache(NULL)
{
if( mBufferType == GFXBufferTypeVolatile )
{