From db8e3dd556b8258056bb69899673a5c0341dcb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 5 Jul 2013 17:35:17 +0200 Subject: [PATCH] Text: call proper Buffer unmapping function. The buffer was mapped with mapSub(), we need to unmap it with unmapSub(). --- src/Text/TextRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/TextRenderer.cpp b/src/Text/TextRenderer.cpp index 4f04aaccd..137da6ba3 100644 --- a/src/Text/TextRenderer.cpp +++ b/src/Text/TextRenderer.cpp @@ -218,7 +218,7 @@ void* AbstractTextRenderer::bufferMapImplementationSub(Buffer& buffer, GLsizeipt } void AbstractTextRenderer::bufferUnmapImplementationSub(Buffer& buffer) { - buffer.unmap(); + buffer.unmapSub(); } #endif