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

[d3d11] Add missing break; in CreateSurface

Found by a frog. Initial testing did not check return values.
This commit is contained in:
Philip Rebohle 2019-10-02 12:04:43 +02:00
parent 85581bdace
commit 50349d1bfe
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2632,6 +2632,7 @@ namespace dxvk {
case DXGI_CPU_ACCESS_SCRATCH:
desc.Usage = D3D11_USAGE_STAGING;
desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE;
break;
default:
return E_INVALIDARG;