libobs-d3d11: Correct error message for staging surfaces

This commit is contained in:
jp9000
2016-11-03 06:55:44 -07:00
parent 7321cc38e8
commit 66bdf43e44

View File

@@ -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);
}