[gl] Remove reference to depth_stencil_tex

We no longer use a depth-stencil, so remove the vestigial reference.
This commit is contained in:
Chris Wilson 2009-09-03 17:32:28 +01:00
parent 316c1683ce
commit d3aeafb406
2 changed files with 0 additions and 3 deletions

View file

@ -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;

View file

@ -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;