libobs-d3d11: Correct error message for pixel shaders
This commit is contained in:
parent
1ecb1550af
commit
d4d0cd479d
@ -101,7 +101,7 @@ gs_pixel_shader::gs_pixel_shader(gs_device_t *device, const char *file,
|
||||
hr = device->device->CreatePixelShader(data.data(), data.size(),
|
||||
NULL, shader.Assign());
|
||||
if (FAILED(hr))
|
||||
throw HRError("Failed to create vertex shader", hr);
|
||||
throw HRError("Failed to create pixel shader", hr);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user