File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Cpp/1-getting-started/1-3-4-3DRendering Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ void Rendering3DApplication::CreateDepthStencilView()
161
161
ID3D11Texture2D* texture = nullptr ;
162
162
if (FAILED (_device->CreateTexture2D (&texDesc, nullptr , &texture)))
163
163
{
164
- std::cout << " DXGI : Failed to create texture for DepthStencilView\n " ;
164
+ std::cout << " D3D11 : Failed to create texture for DepthStencilView\n " ;
165
165
return ;
166
166
}
167
167
@@ -170,7 +170,7 @@ void Rendering3DApplication::CreateDepthStencilView()
170
170
dsvDesc.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D;
171
171
if (FAILED (_device->CreateDepthStencilView (texture, &dsvDesc, &_depthTarget)))
172
172
{
173
- std::cout << " DXGI : Failed to create DepthStencilView\n " ;
173
+ std::cout << " D3D11 : Failed to create DepthStencilView\n " ;
174
174
texture->Release ();
175
175
return ;
176
176
}
You can’t perform that action at this time.
0 commit comments