浏览代码

compile fix

Anis 9 年之前
父节点
当前提交
740c999c19
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);