Browse Source

Revert commented out code.

Branimir Karadžić 8 years ago
parent
commit
dc69484d06
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/renderer_d3d11.cpp

+ 7 - 7
src/renderer_d3d11.cpp

@@ -2334,13 +2334,13 @@ BX_PRAGMA_DIAGNOSTIC_POP();
 				}
 
 				m_lost = d3d11::isLost(hr);
-//				BGFX_FATAL(!m_lost
-//					, bgfx::Fatal::DeviceLost
-//					, "Device is lost. FAILED 0x%08x %s (%s)"
-//					, hr
-//					, getLostReason(hr)
-//					, DXGI_ERROR_DEVICE_REMOVED == hr ? getLostReason(m_device->GetDeviceRemovedReason() ) : "no info"
-//					);
+				BGFX_FATAL(!m_lost
+					, bgfx::Fatal::DeviceLost
+					, "Device is lost. FAILED 0x%08x %s (%s)"
+					, hr
+					, getLostReason(hr)
+					, DXGI_ERROR_DEVICE_REMOVED == hr ? getLostReason(m_device->GetDeviceRemovedReason() ) : "no info"
+					);
 			}
 		}