projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c375a
)
honour text color setting
author
Derek Foreman
<manmower@gmail.com>
Mon, 2 Jun 2003 01:45:07 +0000
(
01:45
+0000)
committer
Derek Foreman
<manmower@gmail.com>
Mon, 2 Jun 2003 01:45:07 +0000
(
01:45
+0000)
glft/render.c
patch
|
blob
|
history
diff --git
a/glft/render.c
b/glft/render.c
index 354153933e70848a07f72009a30f6e7c75cd2c18..730e47fb2fb204a5bf9d3b91f4c9249aafd0c0ce 100644
(file)
--- 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 <glib.h>
#include <GL/glx.h>
@@
-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;