Browse Source

libobs-d3d11: Correct error message for staging surfaces

jp9000 9 years ago
parent
commit
66bdf43e44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs-d3d11/d3d11-stagesurf.cpp

+ 1 - 1
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());
 	hr = device->device->CreateTexture2D(&td, NULL, texture.Assign());
 	if (FAILED(hr))
 	if (FAILED(hr))
-		throw HRError("Failed to create 2D texture", hr);
+		throw HRError("Failed to create staging surface", hr);
 }
 }