| 7 | #include "xr_input.h" |
| 8 | |
| 9 | void CRenderDevice::_Destroy(BOOL bKeepTextures) |
| 10 | { |
| 11 | DU->OnDeviceDestroy(); |
| 12 | |
| 13 | // before destroy |
| 14 | b_is_Ready = FALSE; |
| 15 | Statistic->OnDeviceDestroy(); |
| 16 | ::Render->destroy(); |
| 17 | m_pRender->OnDeviceDestroy(bKeepTextures); |
| 18 | |
| 19 | Memory.mem_compact(); |
| 20 | } |
| 21 | |
| 22 | void CRenderDevice::Destroy(void) |
| 23 | { |
nothing calls this directly
no test coverage detected