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:
parent
9ede325c5b
commit
7a6e20f3a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user