pipe_loader_sw: fix compilation warning
authorBrian Paul <brianp@vmware.com>
Mon, 26 Jun 2017 20:40:58 +0000 (14:40 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Jun 2017 13:49:02 +0000 (07:49 -0600)
Add the new 'flags' parameter to pipe_loader_sw_create_screen().

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c

index 0fbc78e38187219d44f319024db602a8b6fc1582..46c6604f74e688be77b6b23659bbedf2bb86c36c 100644 (file)
@@ -294,7 +294,8 @@ pipe_loader_sw_configuration(struct pipe_loader_device *dev,
 }
 
 static struct pipe_screen *
-pipe_loader_sw_create_screen(struct pipe_loader_device *dev)
+pipe_loader_sw_create_screen(struct pipe_loader_device *dev,
+                             unsigned flags)
 {
    struct pipe_loader_sw_device *sdev = pipe_loader_sw_device(dev);
    struct pipe_screen *screen;