mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 05:24:47 -04:00
libobs-d3d11: Correct error message for staging surfaces
This commit is contained in:
1 parent
7321cc38e8
commit
66bdf43e44
1 file changed
+1
-1
@@ -40,5 +40,5 @@ gs_stage_surface::gs_stage_surface(gs_device_t *device, uint32_t width,
|
||||
|
||||
hr = device->device->CreateTexture2D(&td, NULL, texture.Assign());
|
||||
if (FAILED(hr))
|
||||
throw HRError("Failed to create 2D texture", hr);
|
||||
throw HRError("Failed to create staging surface", hr);
|
||||
}
|
||||
Reference in new issue
Block a user