Roderick Colenbrander : wined3d: When volume textures aren't around ( GL_EXT_texture3D not supported) return WINED3DERR_NOTAVAILABLE.
Alexandre Julliard
julliard at winehq.org
Sat Mar 22 08:18:35 CDT 2008
Module: wine
Branch: master
Commit: 6f3127291f6d8255717a0751f4550461e8c15641
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f3127291f6d8255717a0751f4550461e8c15641
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Fri Mar 21 20:53:56 2008 +0000
wined3d: When volume textures aren't around (GL_EXT_texture3D not supported) return WINED3DERR_NOTAVAILABLE.
---
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 79da9c1..7ed9739 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2472,6 +2472,9 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
return WINED3DERR_NOTAVAILABLE;
}
}
+ } else {
+ TRACE_(d3d_caps)("[FAILED] - No volume texture support\n");
+ return WINED3DERR_NOTAVAILABLE;
}
/* Filter formats that need conversion; For one part, this conversion is unimplemented,
More information about the wine-cvs
mailing list