Added SDL_GetRendererOutputSize

This commit is contained in:
David Barnett 2014-12-07 12:55:56 +13:00 committed by Ethan Lee
parent 784cda961f
commit 7a248e2678

View file

@ -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(