revert RasterFont optimization
isn't needed and also not tested and buggy
This commit is contained in:
parent
3ec3b7683e
commit
e9d00bfeeb
|
@ -264,9 +264,6 @@ void RasterFont::printMultilineText(const char *text, double start_x, double sta
|
||||||
}
|
}
|
||||||
glUnmapBuffer(GL_ARRAY_BUFFER);
|
glUnmapBuffer(GL_ARRAY_BUFFER);
|
||||||
|
|
||||||
// no printable char, so also nothing to do
|
|
||||||
if(!usage) return;
|
|
||||||
|
|
||||||
glUseProgram(shader_program);
|
glUseProgram(shader_program);
|
||||||
|
|
||||||
if(color != cached_color) {
|
if(color != cached_color) {
|
||||||
|
|
Loading…
Reference in New Issue