[cairo-commit] glitz/src glitz_surface.c,1.25,1.26
David Reveman
commit at pdx.freedesktop.org
Mon Jan 31 15:57:56 PST 2005
Committed by: davidr
Update of /cvs/cairo/glitz/src
In directory gabe:/tmp/cvs-serv17995/src
Modified Files:
glitz_surface.c
Log Message:
Fix typo in comment and remove unnecessary code
Index: glitz_surface.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_surface.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- glitz_surface.c 25 Jan 2005 19:50:26 -0000 1.25
+++ glitz_surface.c 31 Jan 2005 23:57:54 -0000 1.26
@@ -630,7 +630,7 @@
good if someone could verify that this is actually a correct way for
doing this.
- We need to do we this:
+ We need to do this:
scale (IDENTITY, 0, -1)
translate (IDENTITY, 0, -texture_height)
@@ -673,8 +673,6 @@
t[13] -= t[5] * height;
t[15] -= t[7] * height;
- height = surface->texture.texcoord_height_unit * surface->texture.box.y1;
-
/* Translate coordinates into texture. This only makes a difference when
GL_ARB_texture_border_clamp is missing as box.x1 and box.y1 are
otherwise always zero. This breaks projective transformations so
More information about the cairo-commit
mailing list