From 89840c0517f669c8178261e48030d9af14fa96f3 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Sat, 27 Jan 2007 12:12:44 +0100 Subject: [PATCH] wined3d: Report D3D caps properly for ATI cards. --- dlls/wined3d/directx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 0e6f4bcb806..7bd04bb4e0f 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2136,7 +2136,8 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, D3DTEXOPCAPS_LERP | D3DTEXOPCAPS_SUBTRACT; } - if (GL_SUPPORT(NV_TEXTURE_ENV_COMBINE4)) { + if (GL_SUPPORT(ATI_TEXTURE_ENV_COMBINE3) || + GL_SUPPORT(NV_TEXTURE_ENV_COMBINE4)) { *pCaps->TextureOpCaps |= D3DTEXOPCAPS_ADDSMOOTH | D3DTEXOPCAPS_MULTIPLYADD | D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR |