Merge pull request #79 from zyphrus/master

Added SDL_GetRendererOutputSize
This commit is contained in:
Ethan Lee 2014-12-06 18:58:04 -05:00
commit 1313fc8b66

View file

@ -1744,6 +1744,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(