diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 4f56ccbd36..b2d90af9ed 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -113,7 +113,6 @@ struct _GdkWindowImplWayland */ cairo_surface_t *server_surface; - GLuint texture; uint32_t resize_edges; int focus_count; @@ -866,9 +865,6 @@ gdk_wayland_window_destroy (GdkWindow *window, NULL, NULL); } - if (impl->texture) - glDeleteTextures(1, &impl->texture); - if (!recursing && !foreign_destroy) { if (GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface)