From 42fcc1f9f81fc4af619d1094b2a5ecf0a7b175bb Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 16 Jun 2016 08:10:53 +0000 Subject: [PATCH] d3dx9_36: Move functions D3DXDebugMute, D3DXGetDriverLevel to utils.c. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3dx9_36/d3dx9_36_main.c | 18 ------------------ dlls/d3dx9_36/util.c | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/dlls/d3dx9_36/d3dx9_36_main.c b/dlls/d3dx9_36/d3dx9_36_main.c index 04c187799c2..599b76a62e8 100644 --- a/dlls/d3dx9_36/d3dx9_36_main.c +++ b/dlls/d3dx9_36/d3dx9_36_main.c @@ -53,21 +53,3 @@ BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers) else return FALSE; } - -/*********************************************************************** - * D3DXDebugMute - * Returns always FALSE for us. - */ -BOOL WINAPI D3DXDebugMute(BOOL mute) -{ - return FALSE; -} - -/*********************************************************************** - * D3DXGetDriverLevel. - * Returns always 900 (DX 9) for us - */ -UINT WINAPI D3DXGetDriverLevel(struct IDirect3DDevice9 *device) -{ - return 900; -} diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c index d8cd43a15eb..8f9b0b3364c 100644 --- a/dlls/d3dx9_36/util.c +++ b/dlls/d3dx9_36/util.c @@ -378,3 +378,22 @@ void set_number(void *outdata, D3DXPARAMETER_TYPE outtype, const void *indata, D break; } } + + +/*********************************************************************** + * D3DXDebugMute + * Returns always FALSE for us. + */ +BOOL WINAPI D3DXDebugMute(BOOL mute) +{ + return FALSE; +} + +/*********************************************************************** + * D3DXGetDriverLevel. + * Returns always 900 (DX 9) for us + */ +UINT WINAPI D3DXGetDriverLevel(struct IDirect3DDevice9 *device) +{ + return 900; +}