Henri Verbeet : d3d8/tests: Avoid windowsx.h.
Alexandre Julliard
julliard at winehq.org
Tue Oct 29 15:12:25 CDT 2013
Module: wine
Branch: master
Commit: f70672336e80a0f727284ec896032e490b120a90
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f70672336e80a0f727284ec896032e490b120a90
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Oct 29 10:28:04 2013 +0100
d3d8/tests: Avoid windowsx.h.
---
dlls/d3d8/tests/device.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 9db5335..2e2a0c0 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -22,11 +22,13 @@
*/
#define COBJMACROS
-#include <windowsx.h>
#include <initguid.h>
#include <d3d8.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