From: Derek Foreman Date: Mon, 2 Jun 2003 01:45:07 +0000 (+0000) Subject: honour text color setting X-Git-Tag: gl2~9 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8e4ea1f65c8a02d335a02f9f227849f028dfa12d;p=dana%2Fopenbox.git honour text color setting --- diff --git a/glft/render.c b/glft/render.c index 35415393..730e47fb 100644 --- a/glft/render.c +++ b/glft/render.c @@ -1,6 +1,7 @@ #include "render.h" #include "font.h" #include "debug.h" +#include "glft.h" #include #include @@ -60,6 +61,7 @@ void GlftRenderString(struct GlftFont *font, const char *str, int bytes, return; } + glColor4f(color->r, color->g, color->b, color->a); glPushMatrix(); glTranslatef(x, y, 0.0); c = str;