diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-05 16:02:51 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-05 17:17:26 +0000 |
commit | 65cd7d3bebe12e0db61b2739a7950d1ed49c20f3 (patch) | |
tree | b5012ff612cedd6eb8af8292ae0c30d25b54a9a0 | |
parent | d7dcf9d28fdf05c8acabd8ed3dc25e0cf279e61e (diff) |
gl: Propagate surface texture to embedded operand
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/cairo-gl-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c index 82bb2f02..ba6857e7 100644 --- a/src/cairo-gl-surface.c +++ b/src/cairo-gl-surface.c @@ -409,8 +409,8 @@ _cairo_gl_surface_create_scratch_for_texture (cairo_gl_context_t *ctx, if (unlikely (surface == NULL)) return _cairo_surface_create_in_error (_cairo_error (CAIRO_STATUS_NO_MEMORY)); - _cairo_gl_surface_init (&ctx->base, surface, content, width, height); surface->tex = tex; + _cairo_gl_surface_init (&ctx->base, surface, content, width, height); /* Create the texture used to store the surface's data. */ _cairo_gl_context_activate (ctx, CAIRO_GL_TEX_TEMP); |