mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Update gfxGLCircularVolatileBuffer.h
fix gl volatile buffer
This commit is contained in:
parent
bad9d9b188
commit
d45c3794a5
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,8 @@ public:
|
||||||
if (GFXGL->mCapabilities.bufferStorage)
|
if (GFXGL->mCapabilities.bufferStorage)
|
||||||
{
|
{
|
||||||
outPtr = static_cast<U8*>(mBufferPtr) + mBufferFreePos;
|
outPtr = static_cast<U8*>(mBufferPtr) + mBufferFreePos;
|
||||||
|
_getBufferData.mOffset = outOffset;
|
||||||
|
_getBufferData.mSize = size;
|
||||||
}
|
}
|
||||||
else if (GFXGL->glUseMap())
|
else if (GFXGL->glUseMap())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue