Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 336 vs 337 for /trunk/Source Code/Platform/Video/OpenGL/Buffers/PixelBuffer/glPixelBuffer.cpp

Diff revisions: vs.
  @@ -188,7 +188,7 @@
188 188 };
189 189
190 190 GLfloat* ptr = (GLfloat*)glMapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY);
191 - if(ptr) {
191 + if(ptr) {
192 192 memcpy(ptr, pixels, _width * _height * 4 * sizeOf(_dataType));
193 193 glUnmapBuffer(GL_PIXEL_UNPACK_BUFFER); // release the mapped buffer
194 194 }