Matteo Bruni : wined3d: Disable WINED3DFMT_B8G8R8_UNORM.
Alexandre Julliard
julliard at winehq.org
Tue Nov 15 13:17:34 CST 2011
Module: wine
Branch: master
Commit: 151cf2696bd96095dcc4962de3b58c821c75399f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=151cf2696bd96095dcc4962de3b58c821c75399f
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Nov 15 15:16:56 2011 +0100
wined3d: Disable WINED3DFMT_B8G8R8_UNORM.
---
dlls/wined3d/directx.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index ad79276..8846576 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:
More information about the wine-cvs
mailing list