summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/cairo-gl-private.h1
-rw-r--r--src/cairo-gl-surface.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index 8efab8f8..79145cf3 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -70,7 +70,6 @@ typedef struct _cairo_gl_surface {
int width, height;
GLuint tex; /* GL texture object containing our data. */
- GLuint depth_stencil_tex;
GLuint fb; /* GL framebuffer object wrapping our data. */
} cairo_gl_surface_t;
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;