We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a054e commit 76b9cfaCopy full SHA for 76b9cfa
src/Layers/xrRender/R_DStreams.cpp
@@ -142,6 +142,7 @@ void _VertexStream::Unlock ( u32 Count, u32 Stride)
142
VERIFY (pVB);
143
144
#if defined(USE_OGL)
145
+ glBindBuffer(GL_ARRAY_BUFFER, pVB);
146
CHK_GL(glUnmapBuffer(GL_ARRAY_BUFFER));
147
#elif defined(USE_DX11)
148
HW.pContext->Unmap(pVB, 0);
@@ -280,6 +281,7 @@ void _IndexStream::Unlock(u32 RealCount)
280
281
mPosition += RealCount;
282
VERIFY (pIB);
283
284
+ glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, pIB);
285
CHK_GL(glUnmapBuffer(GL_ELEMENT_ARRAY_BUFFER));
286
287
HW.pContext->Unmap(pIB, 0);
0 commit comments