diff --git a/src/SDL2_image.cs b/src/SDL2_image.cs index a7052a4..9fa193b 100644 --- a/src/SDL2_image.cs +++ b/src/SDL2_image.cs @@ -254,6 +254,16 @@ namespace SDL2 int quality ); + public static string IMG_GetError() + { + return SDL.SDL_GetError(); + } + + public static void IMG_SetError(string fmtAndArglist) + { + SDL.SDL_SetError(fmtAndArglist); + } + #region Animated Image Support /* This region is only available in 2.0.6 or higher. */