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()
161161 ID3D11Texture2D* texture = nullptr ;
162162 if (FAILED (_device->CreateTexture2D (&texDesc, nullptr , &texture)))
163163 {
164- std::cout << " DXGI : Failed to create texture for DepthStencilView\n " ;
164+ std::cout << " D3D11 : Failed to create texture for DepthStencilView\n " ;
165165 return ;
166166 }
167167
@@ -170,7 +170,7 @@ void Rendering3DApplication::CreateDepthStencilView()
170170 dsvDesc.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D;
171171 if (FAILED (_device->CreateDepthStencilView (texture, &dsvDesc, &_depthTarget)))
172172 {
173- std::cout << " DXGI : Failed to create DepthStencilView\n " ;
173+ std::cout << " D3D11 : Failed to create DepthStencilView\n " ;
174174 texture->Release ();
175175 return ;
176176 }
You can’t perform that action at this time.
0 commit comments