mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-02 04:29:14 +01:00
[d3d11] Fixed CheckMultisampleQualityLevels return values
This commit is contained in:
parent
9ede325c5b
commit
7a6e20f3a8
@ -1274,7 +1274,7 @@ namespace dxvk {
|
|||||||
VkSampleCountFlagBits sampleCountFlag = VK_SAMPLE_COUNT_1_BIT;
|
VkSampleCountFlagBits sampleCountFlag = VK_SAMPLE_COUNT_1_BIT;
|
||||||
|
|
||||||
if (FAILED(GetSampleCount(SampleCount, &sampleCountFlag)))
|
if (FAILED(GetSampleCount(SampleCount, &sampleCountFlag)))
|
||||||
return S_OK;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
// Check if the device supports the given combination of format
|
// Check if the device supports the given combination of format
|
||||||
// and sample count. D3D exposes the opaque concept of quality
|
// and sample count. D3D exposes the opaque concept of quality
|
||||||
|
Loading…
x
Reference in New Issue
Block a user