diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c index 76bae856f42..8a0f08e6448 100644 --- a/dlls/d3d8/directx.c +++ b/dlls/d3d8/directx.c @@ -312,12 +312,13 @@ HRESULT WINAPI IDirect3D8Impl_GetDeviceCaps (LPDIRECT3D8 iface, pCaps->ZCmpCaps = D3DPCMPCAPS_ALWAYS | D3DPCMPCAPS_EQUAL | D3DPCMPCAPS_GREATER | D3DPCMPCAPS_GREATEREQUAL | D3DPCMPCAPS_LESS | D3DPCMPCAPS_LESSEQUAL | D3DPCMPCAPS_NEVER | D3DPCMPCAPS_NOTEQUAL; - pCaps->SrcBlendCaps = 0; - pCaps->DestBlendCaps = 0; - pCaps->AlphaCmpCaps = 0; + pCaps->SrcBlendCaps = 0xFFFFFFFF; /*FIXME: Tidy up later */ + pCaps->DestBlendCaps = 0xFFFFFFFF; /*FIXME: Tidy up later */ + pCaps->AlphaCmpCaps = 0xFFFFFFFF; /*FIXME: Tidy up later */ pCaps->ShadeCaps = D3DPSHADECAPS_SPECULARGOURAUDRGB | D3DPSHADECAPS_COLORGOURAUDRGB ; pCaps->TextureCaps = D3DPTEXTURECAPS_ALPHA | D3DPTEXTURECAPS_ALPHAPALETTE | D3DPTEXTURECAPS_CUBEMAP | D3DPTEXTURECAPS_POW2 | D3DPTEXTURECAPS_VOLUMEMAP | D3DPTEXTURECAPS_MIPMAP; - pCaps->TextureFilterCaps = 0; + pCaps->TextureFilterCaps = D3DPTFILTERCAPS_MAGFLINEAR | D3DPTFILTERCAPS_MAGFPOINT | D3DPTFILTERCAPS_MINFLINEAR | D3DPTFILTERCAPS_MINFPOINT | + D3DPTFILTERCAPS_MIPFLINEAR | D3DPTFILTERCAPS_MIPFPOINT ; pCaps->CubeTextureFilterCaps = 0; pCaps->VolumeTextureFilterCaps = 0; pCaps->TextureAddressCaps = D3DPTADDRESSCAPS_BORDER | D3DPTADDRESSCAPS_CLAMP | D3DPTADDRESSCAPS_WRAP;