From 66bdf43e449193c367db78495707cf41d13c759d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 3 Nov 2016 06:55:44 -0700 Subject: [PATCH] libobs-d3d11: Correct error message for staging surfaces --- libobs-d3d11/d3d11-stagesurf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs-d3d11/d3d11-stagesurf.cpp b/libobs-d3d11/d3d11-stagesurf.cpp index dfe702b3d..5b754553d 100644 --- a/libobs-d3d11/d3d11-stagesurf.cpp +++ b/libobs-d3d11/d3d11-stagesurf.cpp @@ -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); }