Browse Source

compile fix

Anis 9 năm trước cách đây
mục cha
commit
740c999c19
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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);