diff options
Diffstat (limited to 'source/Irrlicht/COGLESDriver.cpp')
-rw-r--r-- | source/Irrlicht/COGLESDriver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Irrlicht/COGLESDriver.cpp b/source/Irrlicht/COGLESDriver.cpp index 1c367ed..fcd0a77 100644 --- a/source/Irrlicht/COGLESDriver.cpp +++ b/source/Irrlicht/COGLESDriver.cpp @@ -270,6 +270,7 @@ bool COGLES1Driver::updateVertexHardwareBuffer(SHWBufferLink_opengl *HWBuffer) //buffer vertex data, and convert colours...
core::array<c8> buffer(vertexSize * vertexCount);
+ buffer.set_used(vertexSize * vertexCount);
memcpy(buffer.pointer(), vertices, vertexSize * vertexCount);
// in order to convert the colors into opengl format (RGBA)
|