mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
compile fix
This commit is contained in:
parent
f39f7a80c8
commit
740c999c19
1 changed files with 2 additions and 1 deletions
|
|
@ -377,7 +377,8 @@ GFXVertexBuffer *GFXGLDevice::allocVertexBuffer( U32 numVerts,
|
||||||
|
|
||||||
GFXPrimitiveBuffer *GFXGLDevice::allocPrimitiveBuffer( U32 numIndices, U32 numPrimitives, GFXBufferType bufferType, void* data )
|
GFXPrimitiveBuffer *GFXGLDevice::allocPrimitiveBuffer( U32 numIndices, U32 numPrimitives, GFXBufferType bufferType, void* data )
|
||||||
{
|
{
|
||||||
GFXPrimitiveBuffer* buf
|
GFXPrimitiveBuffer* buf;
|
||||||
|
|
||||||
if(bufferType == GFXBufferTypeVolatile)
|
if(bufferType == GFXBufferTypeVolatile)
|
||||||
{
|
{
|
||||||
buf = findVolatilePBO(numIndices, numPrimitives);
|
buf = findVolatilePBO(numIndices, numPrimitives);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue