浏览代码

libobs-d3d11: Correct error message for staging surfaces

jp9000 9 年之前
父节点
当前提交
66bdf43e44
共有 1 个文件被更改,包括 1 次插入1 次删除
  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());
 	if (FAILED(hr))
-		throw HRError("Failed to create 2D texture", hr);
+		throw HRError("Failed to create staging surface", hr);
 }