From 8e4ea1f65c8a02d335a02f9f227849f028dfa12d Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 2 Jun 2003 01:45:07 +0000 Subject: [PATCH] honour text color setting --- glft/render.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1