SDL_FillRect overload

This commit is contained in:
Ethan Lee 2015-12-30 19:16:29 -05:00
parent a44c92397d
commit 1efc47ee26

View File

@ -3063,6 +3063,16 @@ namespace SDL2
uint color
);
/* dst refers to an SDL_Surface*.
* This overload allows passing NULL to rect.
*/
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_FillRect(
IntPtr dst,
IntPtr rect,
uint color
);
/* dst refers to an SDL_Surface* */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_FillRects(