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

Author: Nicolai Hähnle <nicolai.haeh...@amd.com>
Date:   Thu Aug  3 15:07:55 2017 +0200

pipe-loader: fix swrast probing

Missed updating this caller of pipe_loader_find_module.

Fixes: 0d7d60b7ea ("pipe-loader: pass only the driver_name to 
pipe_loader_find_module")
Tested-by: Dieter Nützel <die...@nuetzel-hh.de>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>

---

 src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 2 +-
 1 file changed, 1 insertion(+), 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 696ba2c533..677814ad26 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
@@ -100,7 +100,7 @@ pipe_loader_sw_probe_init_common(struct 
pipe_loader_sw_device *sdev)
    if (!sdev->dd)
       return false;
 #else
-   sdev->lib = pipe_loader_find_module(&sdev->base, PIPE_SEARCH_DIR);
+   sdev->lib = pipe_loader_find_module("swrast", PIPE_SEARCH_DIR);
    if (!sdev->lib)
       return false;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to