Skip to content

IMG_GetError()

Syntax

const char* IMG_GetError(void);

Description

Get the last error message from SDL_image.

Returns

  • pointer to a string containing the last error message, or an empty string if there is no error.