summaryrefslogtreecommitdiff
path: root/src/cairo-gl-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-03 17:32:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-03 20:12:40 +0100
commitd3aeafb406da7bf69e9bf24e18a5975780a7a987 (patch)
tree25103aa79fa6dd2919198de7572c8d220376cb08 /src/cairo-gl-surface.c
parent316c1683ceb39eb652608adc360cb4da9c22256a (diff)
[gl] Remove reference to depth_stencil_tex
We no longer use a depth-stencil, so remove the vestigial reference.
Diffstat (limited to 'src/cairo-gl-surface.c')
-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 bfe2579f..4b127b90 100644
--- a/src/cairo-gl-surface.c
+++ b/src/cairo-gl-surface.c
@@ -724,8 +724,6 @@ _cairo_gl_surface_finish (void *abstract_surface)
glDeleteFramebuffersEXT (1, &surface->fb);
glDeleteTextures (1, &surface->tex);
- if (surface->depth_stencil_tex)
- glDeleteTextures (1, &surface->depth_stencil_tex);
if (surface->ctx->current_target == surface)
surface->ctx->current_target = NULL;