mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 15:58:00 +02:00
[gl] Remove reference to depth_stencil_tex
We no longer use a depth-stencil, so remove the vestigial reference.
This commit is contained in:
parent
316c1683ce
commit
d3aeafb406
2 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue