1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 19:24:12 +01:00

[d3d11] Fixed CheckMultisampleQualityLevels return values

This commit is contained in:
Philip Rebohle 2018-03-05 01:08:26 +01:00
parent 9ede325c5b
commit 7a6e20f3a8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1274,7 +1274,7 @@ namespace dxvk {
VkSampleCountFlagBits sampleCountFlag = VK_SAMPLE_COUNT_1_BIT;
if (FAILED(GetSampleCount(SampleCount, &sampleCountFlag)))
return S_OK;
return E_INVALIDARG;
// Check if the device supports the given combination of format
// and sample count. D3D exposes the opaque concept of quality