1 #ifndef OPENMW_COMPONENTS_SDLUTIL_IMAGETOSURFACE_H
2 #define OPENMW_COMPONENTS_SDLUTIL_IMAGETOSURFACE_H
std::unique_ptr< SDL_Surface, void(*)(SDL_Surface *)> SurfaceUniquePtr
Definition: imagetosurface.hpp:15
SurfaceUniquePtr imageToSurface(osg::Image *image, bool flip)
Convert an osg::Image to an SDL_Surface.
Definition: imagetosurface.cpp:9