Alistair Leslie-Hughes : d3dx9_36: Move functions D3DXDebugMute, D3DXGetDriverLevel to utils.c.
Alexandre Julliard
julliard at winehq.org
Fri Jun 17 10:35:04 CDT 2016
Module: wine
Branch: master
Commit: 42fcc1f9f81fc4af619d1094b2a5ecf0a7b175bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=42fcc1f9f81fc4af619d1094b2a5ecf0a7b175bb
Author: Alistair Leslie-Hughes <leslie_alistair at 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 at hotmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
+}
More information about the wine-cvs
mailing list