Module: wine Branch: master Commit: d64e9bb59d38e3884fea675de4de7b18107277db URL: http://source.winehq.org/git/wine.git/?a=commit;h=d64e9bb59d38e3884fea675de4...
Author: Michael Müller michael@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@fds-team.de Signed-off-by: Sebastian Lackner sebastian@fds-team.de Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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;