Drohne/SDK/ARDrone_SDK_2_0_1/ARDrone_SDK_2_0_1/Examples/Win32/sdk_demo/Sources/UI/directx_rendering.cpp
//-----------------------------------------------------------------------------
// Name: Cleanup()
// Desc: Releases all previously initialized objects
//-----------------------------------------------------------------------------
Cleanup()
Desc: Releases all previously initialized objects
Cleanup () Desc : Releases all previously initialized objects
VOID Cleanup()
{
    if( g_pTexture != NULL )
        g_pTexture->Release();
    if( g_pVB != NULL )
        g_pVB->Release();
    if( g_pd3dDevice != NULL )
        g_pd3dDevice->Release();
    if( g_pD3D != NULL )
        g_pD3D->Release();
}
VOID Cleanup ( ) { if ( g_pTexture != NULL ) g_pTexture -> Release ( ) ; if ( g_pVB != NULL ) g_pVB -> Release ( ) ; if ( g_pd3dDevice != NULL ) g_pd3dDevice -> Release ( ) ; if ( g_pD3D != NULL ) g_pD3D -> Release ( ) ; }
Name: Cleanup()
Desc: Releases all previously initialized objects
Name : Cleanup () Desc : Releases all previously initialized objects