void Mesh_Exit() { while(iNumBuckets) { ModelBuckets[iNumBuckets-1].iNumRef = 1; Mesh_Destroy(ModelBuckets[iNumBuckets-1].pModel); } }
void Game_Destroy( Game* const game) { printf("Game_Destroy \n"); Camera_Destroy( game->Camera); Mesh_Destroy(game->CubeModel); Texture_Destroy(game->DiffuseTexture); free(game); }