summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_loader.cpp
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2016-11-17 16:21:12 -0600
committerTim Rowley <[email protected]>2016-11-21 12:44:46 -0600
commit87bd28210f2b314978989fdcecedc596d17ac856 (patch)
tree1fd97cc4495f3da34d157e5add01c191e23fb5dd /src/gallium/drivers/swr/swr_loader.cpp
parent974d280e815727f84e799cf69058630b954dec7e (diff)
swr: renamed duplicate swr_create_screen()
There are 2 swr_create_screen() functions. One in swr_loader.cpp, which is used during driver init, and the other is hiding in swr_screen.cpp, which ends up in the arch-specific .dll/.so. Rename the second one to swr_create_screen_internal(), to avoid confusion in header files. Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_loader.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_loader.cpp b/src/gallium/drivers/swr/swr_loader.cpp
index 2113c371c5f..9d79fa5fb0d 100644
--- a/src/gallium/drivers/swr/swr_loader.cpp
+++ b/src/gallium/drivers/swr/swr_loader.cpp
@@ -54,7 +54,7 @@ swr_create_screen(struct sw_winsys *winsys)
exit(-1);
}
- util_dl_proc pScreenProc = util_dl_get_proc_address(pLibrary, "swr_create_screen");
+ util_dl_proc pScreenProc = util_dl_get_proc_address(pLibrary, "swr_create_screen_internal");
if (!pScreenProc) {
fprintf(stderr, "SWR library search failure: %s\n", util_dl_error());