MCPcopy Create free account
hub / github.com/DentonW/DevIL / DeleteDeviceObjects

Method DeleteDeviceObjects

DevIL/examples/direct3d_example/d3dtest.cpp:300–307  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Name: DeleteDeviceObjects() Desc: Called when the app is exiting, or the device is being changed, this function deletes any device dependent objects. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

298// this function deletes any device dependent objects.
299//-----------------------------------------------------------------------------
300HRESULT 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected