summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-05-20 22:10:06 +0200
committerBenjamin Otte <otte@redhat.com>2010-05-20 22:10:06 +0200
commitd7a564d8eed32b4417fdb4c8c5d91467e4ae1019 (patch)
tree07b903304f647635feefd48aa8bab4af924166d3
parentf9cf07b126293d00df085d4fbfa337e1132e0258 (diff)
gl: Don't set is_clear
1) It's wrong. 2) The core functions set the flag correctly already.
-rw-r--r--src/cairo-gl-surface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c
index 671a3851..96b10e94 100644
--- a/src/cairo-gl-surface.c
+++ b/src/cairo-gl-surface.c
@@ -338,8 +338,6 @@ _cairo_gl_surface_clear (cairo_gl_surface_t *surface,
glClear (GL_COLOR_BUFFER_BIT);
_cairo_gl_context_release (ctx);
- surface->base.is_clear = TRUE;
-
return CAIRO_STATUS_SUCCESS;
}