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:
50fe542
)
kludge fix for tex height, still needs proper vertical alignment
author
Derek Foreman
<manmower@gmail.com>
Tue, 3 Jun 2003 14:01:48 +0000
(14:01 +0000)
committer
Derek Foreman
<manmower@gmail.com>
Tue, 3 Jun 2003 14:01:48 +0000
(14:01 +0000)
render2/texture.c
patch
|
blob
|
history
diff --git
a/render2/texture.c
b/render2/texture.c
index 0e0cac87dd300c0bd304029ca7bd41bfe78fea3f..e0860bed7549806b108a487f3bc28812b5ef8cca 100644
(file)
--- a/
render2/texture.c
+++ b/
render2/texture.c
@@
-100,8
+100,10
@@
void RrTexturePaint(struct RrSurface *sur, struct RrTexture *tex)
col.g = tex->data.text.color.g;
col.b = tex->data.text.color.b;
col.a = tex->data.text.color.a;
+
GlftRenderString(tex->data.text.font->font, tex->data.text.string,
- strlen(tex->data.text.string), &col, 0, 0);
+ strlen(tex->data.text.string), &col,
+ RrSurfaceX(sur) + 2, RrSurfaceY(sur) + 4);
break;
}
glDisable(GL_TEXTURE_2D);