- destroy-texture! textureprocedure
Destroy the sdl2:texture, freeing its underlying struct. texture's pointer will be set to null (see struct-null?). It is safe to call tihs procedure with managed on unmanaged sdl2:textures. It is safe (but has no effect) to destroy an sdl2:texture multiple times.
See SDL_DestroyTexture.
Requires sdl2 egg 0.2.0 or higher.