Module: wine Branch: master Commit: 460f0d16087aad2abd9e1524b15c096415fafe51 URL: http://source.winehq.org/git/wine.git/?a=commit;h=460f0d16087aad2abd9e1524b1...
Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Fri Mar 21 20:59:14 2008 +0000
wined3d: Return WINED3DERR_NOTAVAILABLE when cubemapping isn't supported.
---
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: