From e9d00bfeebb62d8b6c5627b959c9045914348775 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 29 Dec 2012 00:37:50 +0100 Subject: [PATCH] revert RasterFont optimization isn't needed and also not tested and buggy --- Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp b/Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp index f1cd9fd674..5bebd76eb6 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp @@ -263,9 +263,6 @@ void RasterFont::printMultilineText(const char *text, double start_x, double sta x += delta_x + border_x; } glUnmapBuffer(GL_ARRAY_BUFFER); - - // no printable char, so also nothing to do - if(!usage) return; glUseProgram(shader_program);