[PATCH] wined3d: Make wined3d_adapter_init_format_info() static.
Francois Gouget
fgouget at free.fr
Sat Dec 8 18:41:51 CST 2018
It is no longer referenced in other source files.
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/wined3d/utils.c | 2 +-
dlls/wined3d/wined3d_private.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index aa68799535e..f8da256b07e 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -3971,7 +3971,7 @@ static void init_format_depth_bias_scale(struct wined3d_adapter *adapter,
}
}
-BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, size_t format_size)
+static BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, size_t format_size)
{
unsigned int count = WINED3D_FORMAT_COUNT + ARRAY_SIZE(typeless_depth_stencil_formats);
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 5a6715a5906..6e39db4fa86 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2707,7 +2707,6 @@ struct wined3d_caps_gl_ctx
GLuint test_program_id;
};
-BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, size_t format_size) DECLSPEC_HIDDEN;
BOOL wined3d_adapter_gl_init_format_info(struct wined3d_adapter *adapter,
struct wined3d_caps_gl_ctx *ctx) DECLSPEC_HIDDEN;
BOOL wined3d_adapter_no3d_init_format_info(struct wined3d_adapter *adapter) DECLSPEC_HIDDEN;
--
2.19.2
More information about the wine-devel
mailing list