[2/2] d3d11: Correctly print unhandled bind flags in wined3d_usage_from_d3d11.

Sebastian Lackner sebastian at fds-team.de
Tue Aug 23 10:25:13 CDT 2016


From: Michael Müller <michael at fds-team.de>

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
 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;
-- 
2.9.0



More information about the wine-patches mailing list