Browse Source

compile fix

Anis 9 years ago
parent
commit
740c999c19
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Engine/source/gfx/gl/gfxGLDevice.cpp

+ 2 - 1
Engine/source/gfx/gl/gfxGLDevice.cpp

@@ -377,7 +377,8 @@ GFXVertexBuffer *GFXGLDevice::allocVertexBuffer(   U32 numVerts,
 
 GFXPrimitiveBuffer *GFXGLDevice::allocPrimitiveBuffer( U32 numIndices, U32 numPrimitives, GFXBufferType bufferType, void* data ) 
 {
-   GFXPrimitiveBuffer* buf
+   GFXPrimitiveBuffer* buf;
+   
    if(bufferType == GFXBufferTypeVolatile)
    {
       buf = findVolatilePBO(numIndices, numPrimitives);