[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] glitz/src glitz_surface.c,1.25,1.26
From:       David Reveman <commit () pdx ! freedesktop ! org>
Date:       2005-01-31 23:57:56
Message-ID: 20050131235756.9561E9EA05 () gabe ! freedesktop ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic