Browse Source

Update gfxGLCircularVolatileBuffer.h

fix gl volatile buffer
marauder2k7 1 tháng trước cách đây
mục cha
commit
d45c3794a5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h

+ 2 - 0
Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h

@@ -224,6 +224,8 @@ public:
       if (GFXGL->mCapabilities.bufferStorage)
       {
          outPtr = static_cast<U8*>(mBufferPtr) + mBufferFreePos;
+         _getBufferData.mOffset = outOffset;
+         _getBufferData.mSize = size;
       }
       else if (GFXGL->glUseMap())
       {