MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
anonymous_namespace{binary_matrix.cpp}::SurfaceDeleter Struct Reference

Public Member Functions

void operator() (SDL_Surface *surface) const

Detailed Description

Definition at line 28 of file binary_matrix.cpp.

Member Function Documentation

◆ operator()()

void anonymous_namespace{binary_matrix.cpp}::SurfaceDeleter::operator() ( SDL_Surface * surface) const
inline

Definition at line 29 of file binary_matrix.cpp.

29 {
30 if (surface != nullptr) {
31 SDL_DestroySurface(surface);
32 }
33 }

The documentation for this struct was generated from the following file: