Mesa (master): pipe_loader_sw: fix compilation warning

Brian Paul brianp at kemper.freedesktop.org
Tue Jun 27 14:16:04 UTC 2017


Module: Mesa
Branch: master
Commit: ce608784d0739170642d771f2edcd747787040cb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce608784d0739170642d771f2edcd747787040cb

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jun 26 14:40:58 2017 -0600

pipe_loader_sw: fix compilation warning

Add the new 'flags' parameter to pipe_loader_sw_create_screen().

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
index 0fbc78e381..46c6604f74 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
@@ -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;




More information about the mesa-commit mailing list