Henri Verbeet : d3d9/tests: Avoid windowsx.h.
Alexandre Julliard
julliard at winehq.org
Wed Oct 30 13:11:03 CDT 2013
Module: wine
Branch: master
Commit: 3528393d642b1c9fb1d589b53de3208d2d87819a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3528393d642b1c9fb1d589b53de3208d2d87819a
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Oct 30 10:17:53 2013 +0100
d3d9/tests: Avoid windowsx.h.
---
dlls/d3d9/tests/device.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
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;
More information about the wine-cvs
mailing list