[PATCH] By accident we are returning WINED3D_OK (=0) instead of TRUE.
Roderick Colenbrander
thunderbird2k at gmx.net
Sat Mar 22 11:45:59 CDT 2008
---
dlls/wined3d/directx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index df0cea2..ef9f27e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2090,7 +2090,7 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DFORMAT CheckFormat)
*/
case WINED3DFMT_V8U8:
if(GL_SUPPORT(NV_TEXTURE_SHADER) || GL_SUPPORT(ATI_ENVMAP_BUMPMAP)) {
- return WINED3D_OK;
+ return TRUE;
}
TRACE_(d3d_caps)("[FAILED] - No converted formats on volumes\n");
return FALSE;
--
1.5.3.8
--========GMX184921206201335782095--
More information about the wine-patches
mailing list