r300g: add missing layer argument to rws->buffer_get_handle() call
authorBrian Paul <brianp@vmware.com>
Thu, 17 Mar 2016 15:47:21 +0000 (09:47 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 17 Mar 2016 15:52:21 +0000 (09:52 -0600)
Fixes compilation error since 5aea0d691.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r300/r300_texture.c

index 22a613f..709345a 100644 (file)
@@ -982,7 +982,7 @@ boolean r300_resource_get_handle(struct pipe_screen* screen,
     }
 
     return rws->buffer_get_handle(tex->buf, tex->tex.stride_in_bytes[0],
-                                  0, whandle);
+                                  0, 0, whandle);
 }
 
 static const struct u_resource_vtbl r300_texture_vtbl =