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>
This commit is contained in:
Alistair Leslie-Hughes 2016-06-16 08:10:53 +00:00 committed by Alexandre Julliard
parent 8ebaccdf3f
commit 42fcc1f9f8
2 changed files with 19 additions and 18 deletions

View File

@ -53,21 +53,3 @@ BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
else else
return FALSE; 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;
}

View File

@ -378,3 +378,22 @@ void set_number(void *outdata, D3DXPARAMETER_TYPE outtype, const void *indata, D
break; 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;
}