[cairo-commit] glitz/src glitz_pixel.c,1.7,1.8

David Reveman commit at pdx.freedesktop.org
Wed Sep 15 09:52:16 PDT 2004


Committed by: davidr

Update of /cvs/cairo/glitz/src
In directory gabe:/tmp/cvs-serv15261/src

Modified Files:
	glitz_pixel.c 
Log Message:
Minor pixel transfer fix

Index: glitz_pixel.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_pixel.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** glitz_pixel.c	9 Sep 2004 09:50:26 -0000	1.7
--- glitz_pixel.c	15 Sep 2004 16:52:14 -0000	1.8
***************
*** 452,455 ****
--- 452,461 ----
    } else
      glitz_surface_push_current (dst, GLITZ_CN_ANY_CONTEXT_CURRENT);
+ 
+   texture = glitz_surface_get_texture (dst, 1);
+   if (!texture) {
+     glitz_surface_pop_current (dst);
+     return;
+   }
    
    if (transform) {
***************
*** 495,504 ****
      pixels += format->skip_lines * bytes_per_line;
    }
- 
-   texture = glitz_surface_get_texture (dst, 1);
-   if (!texture) {
-     glitz_surface_pop_current (dst);
-     return;
-   }
    
    glitz_texture_bind (gl, texture);
--- 501,504 ----




More information about the cairo-commit mailing list