Browse Source

Text: call proper Buffer unmapping function.

The buffer was mapped with mapSub(), we need to unmap it with
unmapSub().
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
db8e3dd556
  1. 2
      src/Text/TextRenderer.cpp

2
src/Text/TextRenderer.cpp

@ -218,7 +218,7 @@ void* AbstractTextRenderer::bufferMapImplementationSub(Buffer& buffer, GLsizeipt
}
void AbstractTextRenderer::bufferUnmapImplementationSub(Buffer& buffer) {
buffer.unmap();
buffer.unmapSub();
}
#endif

Loading…
Cancel
Save