src/video.c
/* Closes the SDL window and the video subsystem. */
Closes the SDL window and the video subsystem.
Closes the SDL window and the video subsystem .
void video_close() {
	lprint(INFO, "Closing video subsystem");
	SDL_DestroyTexture(texture);
	SDL_DestroyRenderer(renderer);
	SDL_DestroyWindow(window);
	SDL_QuitSubSystem(SDL_INIT_VIDEO);
}
void video_close ( ) { lprint ( INFO , " " ) ; SDL_DestroyTexture ( texture ) ; SDL_DestroyRenderer ( renderer ) ; SDL_DestroyWindow ( window ) ; SDL_QuitSubSystem ( SDL_INIT_VIDEO ) ; }
Closes the SDL window and the video subsystem.
Closes the SDL window and the video subsystem .
/* Destroys all of the resources used by the video subsystem. This will
	   also close the window. */ /* Shuts down SDL's video subsystem. No video calls should be made after
	   this point unless the video subsystem is brought back up. */