mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-25 01:51:04 +00:00
Added SDL_GetRendererOutputSize
This commit is contained in:
parent
784cda961f
commit
7a248e2678
|
@ -1776,6 +1776,14 @@ namespace SDL2
|
||||||
out SDL_RendererInfo info
|
out SDL_RendererInfo info
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/* renderer refers to an SDL_Renderer* */
|
||||||
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern int SDL_GetRendererOutputSize(
|
||||||
|
IntPtr renderer,
|
||||||
|
out int w,
|
||||||
|
out int h
|
||||||
|
);
|
||||||
|
|
||||||
/* texture refers to an SDL_Texture* */
|
/* texture refers to an SDL_Texture* */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_GetTextureAlphaMod(
|
public static extern int SDL_GetTextureAlphaMod(
|
||||||
|
|
Loading…
Reference in a new issue