mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 23:59:30 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -38,7 +38,9 @@ GLCircularVolatileBuffer* getCircularVolatileIndexBuffer()
|
|||
GFXGLPrimitiveBuffer::GFXGLPrimitiveBuffer(GFXDevice *device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType) :
|
||||
GFXPrimitiveBuffer(device, indexCount, primitiveCount, bufferType),
|
||||
mBufferOffset(0),
|
||||
mZombieCache(NULL)
|
||||
mZombieCache(NULL),
|
||||
lockedIndexEnd(0),
|
||||
lockedIndexStart(0)
|
||||
{
|
||||
if( mBufferType == GFXBufferTypeVolatile )
|
||||
{
|
||||
|
|
@ -185,4 +187,4 @@ MODULE_BEGIN( GFX_GL_PrimitiveBuffer )
|
|||
{
|
||||
GFXDevice::getDeviceEventSignal( ).remove( &onGFXDeviceSignal );
|
||||
}
|
||||
MODULE_END
|
||||
MODULE_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue