Бранимир Караџић 6 年之前
父節點
當前提交
b9910211de
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      src/renderer_d3d12.cpp

+ 0 - 6
src/renderer_d3d12.cpp

@@ -4883,9 +4883,6 @@ namespace bgfx { namespace d3d12
 				break;
 			}
 
-{HRESULT hr = device->GetDeviceRemovedReason();
- BX_CHECK(SUCCEEDED(hr), "%x %x", hr, DXGI_ERROR_INVALID_CALL);}
-
 			m_ptr = createCommittedResource(device, HeapProperty::Texture, &resourceDesc, clearValue, renderTarget);
 
 			if (directAccess)
@@ -4922,9 +4919,6 @@ namespace bgfx { namespace d3d12
 				setState(commandList, state);
 			}
 
-{HRESULT hr = device->GetDeviceRemovedReason();
- BX_CHECK(SUCCEEDED(hr), "%x %x", hr, DXGI_ERROR_INVALID_CALL);}
-
 			if (0 != kk)
 			{
 				kk = 0;