libobs-d3d11: Correct error message creating blend states
This commit is contained in:
parent
66bdf43e44
commit
75cd6b4ab4
@ -315,7 +315,7 @@ ID3D11BlendState *gs_device::AddBlendState()
|
|||||||
|
|
||||||
hr = device->CreateBlendState(&bd, savedState.state.Assign());
|
hr = device->CreateBlendState(&bd, savedState.state.Assign());
|
||||||
if (FAILED(hr))
|
if (FAILED(hr))
|
||||||
throw HRError("Failed to create disabled blend state", hr);
|
throw HRError("Failed to create blend state", hr);
|
||||||
|
|
||||||
state = savedState.state;
|
state = savedState.state;
|
||||||
blendStates.push_back(savedState);
|
blendStates.push_back(savedState);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user