Squashed commit of the following:
[mesa.git] / src / gallium / state_trackers / xorg / xorg_exa.h
index 41b19061599e6ca65dc3d19efd8042e05bed04a5..a35e9a5c9012d6d27fdbb7e4d0fe2abfeea90501 100644 (file)
@@ -43,7 +43,7 @@ struct exa_context
       struct pipe_surface *src_surface;
       struct pipe_surface *dst_surface;
 
-      struct pipe_texture *src_texture;
+      struct pipe_resource *src_texture;
    } copy;
 };
 
@@ -56,8 +56,8 @@ struct exa_pixmap_priv
 
    int picture_format;
 
-   struct pipe_texture *tex;
-   struct pipe_texture *depth_stencil_tex;
+   struct pipe_resource *tex;
+   struct pipe_resource *depth_stencil_tex;
 
    struct pipe_transfer *map_transfer;
    unsigned map_count;