revert RasterFont optimization
isn't needed and also not tested and buggy
This commit is contained in:
parent
3ec3b7683e
commit
e9d00bfeeb
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue