----------------------------------------------------------------------------- Name: DeleteDeviceObjects() Desc: Called when the app is exiting, or the device is being changed, this function deletes any device dependent objects. -----------------------------------------------------------------------------
| 298 | // this function deletes any device dependent objects. |
| 299 | //----------------------------------------------------------------------------- |
| 300 | HRESULT CMyD3DApplication::DeleteDeviceObjects() |
| 301 | { |
| 302 | m_pFont->DeleteDeviceObjects(); |
| 303 | SAFE_RELEASE( m_pTexture ); |
| 304 | SAFE_RELEASE( m_pVB ); |
| 305 | |
| 306 | return S_OK; |
| 307 | } |
| 308 | |
| 309 | |
| 310 |
nothing calls this directly
no outgoing calls
no test coverage detected