Commit 89840c05 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

wined3d: Report D3D caps properly for ATI cards.

parent a425bfc6
......@@ -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 |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment