]> Pileus Git - ~andy/gtk/commitdiff
wayland: Remove unused member from struct
authorRob Bradford <rob@linux.intel.com>
Wed, 4 Apr 2012 10:40:52 +0000 (11:40 +0100)
committerRob Bradford <rob@linux.intel.com>
Mon, 16 Apr 2012 13:12:51 +0000 (14:12 +0100)
gdk/wayland/gdkwindow-wayland.c

index 4f56ccbd367e30c48203a89c477d1ef425204de4..b2d90af9ed74866e32356b552c68ac1fde5ba440 100644 (file)
@@ -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)