#include <openglsdlimageloader.hpp>
Inheritance diagram for gcn::OpenGLSDLImageLoader:
Definition at line 71 of file openglsdlimageloader.hpp.
Public Member Functions | |
virtual Image * | load (const std::string &filename, bool convertToDisplayFormat=true) |
Loads an image by calling the image's ImageLoader. |
virtual Image* gcn::OpenGLSDLImageLoader::load | ( | const std::string & | filename, | |
bool | convertToDisplayFormat = true | |||
) | [inline, virtual] |
Loads an image by calling the image's ImageLoader.
NOTE: The functions getPixel and putPixel in Image are only guaranteed to work before an image has been converted to display format.
filename | the file to load. | |
convertToDisplayFormat | true if the image should be converted to display, false otherwise. |
Reimplemented from gcn::SDLImageLoader.
Definition at line 77 of file openglsdlimageloader.hpp.
References gcn::SDLImageLoader::convertToStandardFormat(), and gcn::SDLImageLoader::loadSDLSurface().