[PATCH] Return WINED3DERR_NOTAVAILABLE when cubemapping isn't supported.
Roderick Colenbrander
thunderbird2k at gmx.net
Fri Mar 21 15:59:14 CDT 2008
---
dlls/wined3d/directx.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index db351ee..103e8f1 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2312,6 +2312,9 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
}
}
}
+ } else {
+ TRACE_(d3d_caps)("[FAILED] - No cube texture support\n");
+ return WINED3DERR_NOTAVAILABLE;
}
} else if(RType == WINED3DRTYPE_SURFACE) {
/* Surface allows:
--
1.5.3.8
--========GMX191021206133579790517--
More information about the wine-patches
mailing list