Rose
Public Member Functions | List of all members
rose::gm::SurfaceDestroy Class Reference

A functor to destroy an SDL_Surface. More...

#include <Surface.h>

Public Member Functions

void operator() (SDL_Surface *sdlSurface)
 Call the SDL API to free the SDL_Surface. More...
 

Detailed Description

A functor to destroy an SDL_Surface.

Member Function Documentation

◆ operator()()

void rose::gm::SurfaceDestroy::operator() ( SDL_Surface *  sdlSurface)
inline

Call the SDL API to free the SDL_Surface.

Parameters
sdlSurfaceA pointer to the SDL_Surface to free.

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