Module: wine Branch: master Commit: 42fcc1f9f81fc4af619d1094b2a5ecf0a7b175bb URL: http://source.winehq.org/git/wine.git/?a=commit;h=42fcc1f9f81fc4af619d1094b2...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Thu Jun 16 08:10:53 2016 +0000
d3dx9_36: Move functions D3DXDebugMute, D3DXGetDriverLevel to utils.c.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 04c1877..599b76a 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 d8cd43a..8f9b0b3 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; +}