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:
parent
85581bdace
commit
50349d1bfe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user