Commit d64e9bb5 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

d3d11: Correctly print unhandled bind flags in wined3d_usage_from_d3d11.

parent 983b3577
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment