cell: added tex_usage param to xm_surface_buffer_create()
authorBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:31:26 +0000 (09:31 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:31:26 +0000 (09:31 -0700)
src/gallium/winsys/xlib/xlib_cell.c

index 13e609f58fe059242782e1c3c36cf77c380da3b8..5f8dc2ab241ada3e5e8d560ac393fa9f0f0f04f7 100644 (file)
@@ -291,6 +291,7 @@ xm_surface_buffer_create(struct pipe_winsys *winsys,
                          unsigned width, unsigned height,
                          enum pipe_format format,
                          unsigned usage,
+                         unsigned tex_usage,
                          unsigned *stride)
 {
    const unsigned alignment = 64;