=?UTF-8?Q?Michael=20M=C3=BCller=20?=: d3d11: Correctly print unhandled bind flags in wined3d_usage_from_d3d11.

Alexandre Julliard julliard at winehq.org
Wed Aug 24 12:05:17 CDT 2016


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

Author: Michael Müller <michael at fds-team.de>
Date:   Tue Aug 23 17:25:13 2016 +0200

d3d11: Correctly print unhandled bind flags in wined3d_usage_from_d3d11.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d11/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d11/utils.c b/dlls/d3d11/utils.c
index 370858e..89dbbda 100644
--- a/dlls/d3d11/utils.c
+++ b/dlls/d3d11/utils.c
@@ -411,7 +411,7 @@ DWORD wined3d_usage_from_d3d11(UINT bind_flags, enum D3D11_USAGE usage)
     if (bind_flags & D3D11_BIND_DEPTH_STENCIL)
         wined3d_usage |= WINED3DUSAGE_DEPTHSTENCIL;
     if (bind_flags & ~handled)
-        FIXME("Unhandled bind flags %#x.\n", usage & ~handled);
+        FIXME("Unhandled bind flags %#x.\n", bind_flags & ~handled);
 
     if (usage == D3D11_USAGE_DYNAMIC)
         wined3d_usage |= WINED3DUSAGE_DYNAMIC;




More information about the wine-cvs mailing list