mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-06-20 14:58:02 +00:00
SDL_FillRect overload
This commit is contained in:
parent
a44c92397d
commit
1efc47ee26
10
src/SDL2.cs
10
src/SDL2.cs
|
@ -3063,6 +3063,16 @@ namespace SDL2
|
||||||
uint color
|
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* */
|
/* dst refers to an SDL_Surface* */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_FillRects(
|
public static extern int SDL_FillRects(
|
||||||
|
|
Loading…
Reference in a new issue