Custom deleter for SDL_Texture. More...
#include <sdl_deleter.h>
Public Member Functions | |
| void | operator() (SDL_Texture *p) const |
Custom deleter for SDL_Texture.
Works with both SDL2 and SDL3 as SDL_DestroyTexture has the same signature.
Definition at line 51 of file sdl_deleter.h.
|
inline |
Definition at line 52 of file sdl_deleter.h.