wined3d: Make wined3d_adapter_init_format_info() static.

It is no longer referenced in other source files.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2018-12-09 01:41:51 +01:00 committed by Alexandre Julliard
parent 2ce076a502
commit 1177d08245
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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;