diff options
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp index 51cd323a375..b5b6851bc52 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp @@ -347,13 +347,11 @@ void GPC_RenderTools::RenderText2D(RAS_TEXT_RENDER_MODE mode, if (mode == RAS_IRenderTools::RAS_TEXT_PADDED) { glColor3ub(0, 0, 0); - glRasterPos2s(xco+1, height-yco-1); - // XXX BMF_DrawString(m_font, s); + BLF_draw_default(xco+1, height-yco-1, 0.f, text, strlen(text)); } glColor3ub(255, 255, 255); - glRasterPos2s(xco, height-yco); - // XXX BMF_DrawString(m_font, s); + BLF_draw_default(xco, height-yco, 0.f, text, strlen(text)); // Restore view settings glMatrixMode(GL_PROJECTION); |