[d3d9] Don't advertise support for MS INTZ format

This commit is contained in:
Robin Kertels 2022-10-30 21:04:02 +01:00 committed by Joshie
parent bc31ebe151
commit 0fc5c84e7b
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ namespace dxvk {
if (MultiSampleType != D3DMULTISAMPLE_NONE
&& (SurfaceFormat == D3D9Format::D32_LOCKABLE
|| SurfaceFormat == D3D9Format::D32F_LOCKABLE
|| SurfaceFormat == D3D9Format::D16_LOCKABLE))
|| SurfaceFormat == D3D9Format::D16_LOCKABLE
|| SurfaceFormat == D3D9Format::INTZ))
return D3DERR_NOTAVAILABLE;
uint32_t sampleCount = std::max<uint32_t>(MultiSampleType, 1u);