mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 04:15:30 +00:00
Added IMG_GetError and IMG_SetError wrapping calls to SDL_GetError and SDL_SetError to keep SDL2_image.cs consistent with SDL2_image.h
This commit is contained in:
parent
e95ef4e98a
commit
5966578e82
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue