diff options
author | Emil Velikov <[email protected]> | 2018-01-22 17:52:49 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-08-07 17:23:17 +0100 |
commit | 54d844897fe0afea4b5ddf08565af49a8191d808 (patch) | |
tree | b127ab1b98fdd6363e6d057b69af9046a04bc46c | |
parent | e02f061b690def50060bcca76706e6407b83260f (diff) |
swr: don't export swr_create_screen_internal
With earlier rework the user and provider of the symbol are within the
same binary. Thus there's no point in exporting the function.
Spotted while reviewing patch from Chuck, that nearly added another
unneeded PUBLIC function.
Cc: Chuck Atkins <[email protected]>
Cc: Tim Rowley <[email protected]>
Fixes: f50aa21456d "(swr: build driver proper separate from rasterizer")
Signed-off-by: Emil Velikov <[email protected]>
Tested-by: Chuck Atkins <[email protected]>
Reviewed-By: George Kyriazis <[email protected]<mailto:[email protected]>>
Tested-by: Chuck Atkins <[email protected]<mailto:[email protected]>>
-rw-r--r-- | src/gallium/drivers/swr/swr_public.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_public.h b/src/gallium/drivers/swr/swr_public.h index 07ea6280cd6..b32f41fdf7b 100644 --- a/src/gallium/drivers/swr/swr_public.h +++ b/src/gallium/drivers/swr/swr_public.h @@ -37,7 +37,7 @@ extern "C" { struct pipe_screen *swr_create_screen(struct sw_winsys *winsys); // arch-specific dll entry point -PUBLIC struct pipe_screen *swr_create_screen_internal(struct sw_winsys *winsys); +struct pipe_screen *swr_create_screen_internal(struct sw_winsys *winsys); // cleanup for failed screen creation void swr_destroy_screen_internal(struct swr_screen **screen); diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index 67085444f84..084f55dab99 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -1143,7 +1143,6 @@ swr_validate_env_options(struct swr_screen *screen) } -PUBLIC struct pipe_screen * swr_create_screen_internal(struct sw_winsys *winsys) { |