Definition at line 49 of file surface.cpp.
◆ operator()() [1/2]
| void surface::SurfaceDeleter::operator() |
( |
SDL_Surface * | surface | ) |
const |
|
inline |
Definition at line 50 of file surface.cpp.
50 {
51 if (surface != nullptr) {
52 SDL_DestroySurface(surface);
53 }
54 }
◆ operator()() [2/2]
| void surface::SurfaceDeleter::operator() |
( |
SDL_Surface * | surface | ) |
const |
|
inline |
Definition at line 14 of file surface.cpp.
14 {
15 if (surface != nullptr) {
16 SDL_DestroySurface(surface);
17 }
18 }
The documentation for this struct was generated from the following files: