Пример #1
0
void gl_shutdown(void)
{
		 // shut down textures
		 
	gl_texture_shutdown();
	
		// close context
		
	SDL_GL_DeleteContext(sdl_gl_ctx);
	SDL_DestroyWindow(sdl_wind);
}
Пример #2
0
void gl_shutdown(void)
{
	gl_texture_shutdown();
	
	// SDL_Quit handles all the clean up
}