diff --git a/libobs-d3d11/d3d11-shader.cpp b/libobs-d3d11/d3d11-shader.cpp index 74ca88093..183bfa688 100644 --- a/libobs-d3d11/d3d11-shader.cpp +++ b/libobs-d3d11/d3d11-shader.cpp @@ -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); } /*