From 0ed0e6785dbc1e699b2f50f83dfdaa8cfd5e6c8d Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 7 Jan 2017 14:41:33 +0100 Subject: [PATCH] dxgi: Make wined3d_scanline_ordering_from_dxgi() static. Signed-off-by: Francois Gouget Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/dxgi/dxgi_private.h | 2 -- dlls/dxgi/utils.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/dxgi/dxgi_private.h b/dlls/dxgi/dxgi_private.h index 06892e2820c..34bb6fc7340 100644 --- a/dlls/dxgi/dxgi_private.h +++ b/dlls/dxgi/dxgi_private.h @@ -85,8 +85,6 @@ void dump_feature_levels(const D3D_FEATURE_LEVEL *feature_levels, unsigned int l DXGI_FORMAT dxgi_format_from_wined3dformat(enum wined3d_format_id format) DECLSPEC_HIDDEN; enum wined3d_format_id wined3dformat_from_dxgi_format(DXGI_FORMAT format) DECLSPEC_HIDDEN; UINT dxgi_rational_to_uint(const DXGI_RATIONAL *rational) DECLSPEC_HIDDEN; -enum wined3d_scanline_ordering wined3d_scanline_ordering_from_dxgi( - DXGI_MODE_SCANLINE_ORDER scanline_order) DECLSPEC_HIDDEN; void dxgi_sample_desc_from_wined3d(DXGI_SAMPLE_DESC *desc, enum wined3d_multisample_type wined3d_type, unsigned int wined3d_quality) DECLSPEC_HIDDEN; void wined3d_sample_desc_from_dxgi(enum wined3d_multisample_type *wined3d_type, diff --git a/dlls/dxgi/utils.c b/dlls/dxgi/utils.c index b940b1510e0..f41b0a89c79 100644 --- a/dlls/dxgi/utils.c +++ b/dlls/dxgi/utils.c @@ -407,7 +407,7 @@ UINT dxgi_rational_to_uint(const DXGI_RATIONAL *rational) return rational->Numerator; } -enum wined3d_scanline_ordering wined3d_scanline_ordering_from_dxgi(DXGI_MODE_SCANLINE_ORDER scanline_order) +static enum wined3d_scanline_ordering wined3d_scanline_ordering_from_dxgi(DXGI_MODE_SCANLINE_ORDER scanline_order) { switch (scanline_order) {