[PATCH 2/5] d3d9/tests: Avoid windowsx.h.
Henri Verbeet
hverbeet at codeweavers.com
Wed Oct 30 04:17:53 CDT 2013
---
dlls/d3d9/tests/device.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 37fb8fe..0691429 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -22,10 +22,12 @@
*/
#define COBJMACROS
-#include <windowsx.h>
#include <d3d9.h>
#include "wine/test.h"
+#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
+#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
+
static INT screen_width;
static INT screen_height;
--
1.7.10.4
More information about the wine-patches
mailing list