svga: fix use of provoking vertex control
[mesa.git] / src / gallium / drivers / svga / svga_resource.c
index 1c3bcd67afa4fa6d4a3ec836ad900c2ef2d3380d..264ac335405b79ae97b6e9814540c345e6da890c 100644 (file)
@@ -47,7 +47,8 @@ svga_resource_create(struct pipe_screen *screen,
 static struct pipe_resource *
 svga_resource_from_handle(struct pipe_screen * screen,
                           const struct pipe_resource *template,
-                          struct winsys_handle *whandle)
+                          struct winsys_handle *whandle,
+                          unsigned usage)
 {
    if (template->target == PIPE_BUFFER)
       return NULL;