From 151cf2696bd96095dcc4962de3b58c821c75399f Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 15 Nov 2011 15:16:56 +0100 Subject: [PATCH] wined3d: Disable WINED3DFMT_B8G8R8_UNORM. --- dlls/wined3d/directx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index ad792760697..8846576bacb 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -3406,7 +3406,9 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const /***** * supported: RGB(A) formats */ - case WINED3DFMT_B8G8R8_UNORM: /* Enable for dx7, blacklisted for 8 and 9 above */ + case WINED3DFMT_B8G8R8_UNORM: + TRACE_(d3d_caps)("[FAILED] - Not enumerated on Windows\n"); + return FALSE; case WINED3DFMT_B8G8R8A8_UNORM: case WINED3DFMT_B8G8R8X8_UNORM: case WINED3DFMT_B5G6R5_UNORM: @@ -3677,6 +3679,8 @@ static BOOL CheckSurfaceCapability(const struct wined3d_adapter *adapter, switch (check_format->id) { case WINED3DFMT_B8G8R8_UNORM: + TRACE_(d3d_caps)("[FAILED] - Not enumerated on Windows\n"); + return FALSE; case WINED3DFMT_B8G8R8A8_UNORM: case WINED3DFMT_B8G8R8X8_UNORM: case WINED3DFMT_B5G6R5_UNORM: -- 2.11.4.GIT