From 7fc4306cf2b579ea552b4ecef19beec01c7a1d7a Mon Sep 17 00:00:00 2001 From: Diego Borghetti Date: Mon, 16 Jul 2007 19:04:42 +0000 Subject: [PATCH] Small fix: need set the color before call glRasterPos or don't work. --- source/blender/src/drawview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 31dd987bbfe..14e7107a31f 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -1019,8 +1019,8 @@ static void drawviewborder(void) /* camera name - draw in highlighted text colour */ if (ca && (ca->flag & CAM_SHOWNAME)) { - glRasterPos2f(x1, y1-15); BIF_ThemeColor(TH_TEXT_HI); + glRasterPos2f(x1, y1-15); BMF_DrawString(G.font, G.vd->camera->id.name+2); BIF_ThemeColor(TH_WIRE);