[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libtext Text.hxx
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/gfx/libtext Text.hxx |
Date: |
Tue, 28 Jan 2003 03:28:26 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/01/28 03:28:26
Modified files:
gfx/libtext : Text.hxx
Log message:
Fix texture binding call template
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libtext/Text.hxx.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: gzz/gfx/libtext/Text.hxx
diff -u gzz/gfx/libtext/Text.hxx:1.13 gzz/gfx/libtext/Text.hxx:1.14
--- gzz/gfx/libtext/Text.hxx:1.13 Sat Jan 25 07:12:51 2003
+++ gzz/gfx/libtext/Text.hxx Tue Jan 28 03:28:26 2003
@@ -269,7 +269,7 @@
*/
template<class Vertex, class TexBind>
float renderChar(Char c, float x, float y, Vertex &vertex,
- const TexBind &t)
+ TexBind t)
{ // returns new x pos
QuadGlyph &glyph = g[(unsigned)c];
if(!glyph.valid()) return x;
@@ -299,7 +299,7 @@
RandomRenderer &r,
Iterator begin, Iterator end,
float x, float y,
- Vertex &vertex, const TexBind &t) {
+ Vertex &vertex, TexBind t) {
r.startRendering();
while(begin != end) {
x = r.renderChar(*begin, x, y, vertex, t);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gfx/libtext Text.hxx,
Tuomas J. Lukka <=