=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Fix an msvc warning.

Alexandre Julliard julliard at winehq.org
Wed Jan 1 14:24:21 CST 2014


Module: wine
Branch: master
Commit: 1e9fe22f4cd07b3362c6f5d049154c229e3c6aa4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1e9fe22f4cd07b3362c6f5d049154c229e3c6aa4

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Jan  1 19:01:41 2014 +0100

wined3d: Fix an msvc warning.

---

 dlls/wined3d/wined3d_private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 5f42964..a0cb5bb 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -938,7 +938,7 @@ void draw_primitive(struct wined3d_device *device, UINT start_idx, UINT index_co
         UINT start_instance, UINT instance_count, BOOL indexed) DECLSPEC_HIDDEN;
 DWORD get_flexible_vertex_size(DWORD d3dvtVertexType) DECLSPEC_HIDDEN;
 
-#define eps 1e-8
+#define eps 1e-8f
 
 #define GET_TEXCOORD_SIZE_FROM_FVF(d3dvtVertexType, tex_num) \
     (((((d3dvtVertexType) >> (16 + (2 * (tex_num)))) + 1) & 0x03) + 1)




More information about the wine-cvs mailing list