[cairo-commit] glitz/src glitz_rect.c,1.3,1.4

David Reveman commit at pdx.freedesktop.org
Wed May 26 06:37:54 PDT 2004


Committed by: davidr

Update of /cvs/cairo/glitz/src
In directory pdx:/tmp/cvs-serv10695/src

Modified Files:
	glitz_rect.c 
Log Message:
Don't use glClear if clipping is set

Index: glitz_rect.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_rect.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** a/glitz_rect.c	10 May 2004 15:14:39 -0000	1.3
--- b/glitz_rect.c	26 May 2004 13:37:52 -0000	1.4
***************
*** 73,77 ****
      return;
  
!   if (op == GLITZ_OPERATOR_SRC) {
      clear_mask = GLITZ_GL_COLOR_BUFFER_BIT;
      dst->gl->clear_color (color->red / (glitz_gl_clampf_t) 0xffff,
--- 73,77 ----
      return;
  
!   if (op == GLITZ_OPERATOR_SRC && (!dst->clip_mask)) {
      clear_mask = GLITZ_GL_COLOR_BUFFER_BIT;
      dst->gl->clear_color (color->red / (glitz_gl_clampf_t) 0xffff,





More information about the cairo-commit mailing list