diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx index e9c34c12c0f0e3d202e4b05a1c467344ddad9938..432774ea51dcf5efad74aa6d9a94b293486e4c6c 100644 --- a/src/gl_draw.cxx +++ b/src/gl_draw.cxx @@ -493,7 +493,7 @@ int gl_texture_fifo::compute_texture(const char* str, int n) GLfloat colors[4]; glGetFloatv(GL_CURRENT_COLOR, colors); fl_color(colors[0]*255, colors[1]*255, colors[2]*255); - fl_draw(str, 0, fifo[current].height - fl_descent()); + fl_draw(str, n, 0, fifo[current].height - fl_descent()); //put this bitmap in a texture glPushAttrib(GL_TEXTURE_BIT); glBindTexture (GL_TEXTURE_RECTANGLE_EXT, fifo[current].texName);