diff options
Diffstat (limited to 'src/cairo-gl-surface.c')
-rw-r--r-- | src/cairo-gl-surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c index 64ae29ba..5d4853dd 100644 --- a/src/cairo-gl-surface.c +++ b/src/cairo-gl-surface.c @@ -527,6 +527,8 @@ cairo_gl_surface_create (cairo_gl_context_t *ctx, glClear (GL_COLOR_BUFFER_BIT); _cairo_gl_context_release (ctx); + surface->base.is_clear = TRUE; + return &surface->base; } slim_hidden_def (cairo_gl_surface_create); |