diff --git a/src/SDL2.cs b/src/SDL2.cs index a5185c2..6c0a7a4 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1776,6 +1776,14 @@ namespace SDL2 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* */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int SDL_GetTextureAlphaMod(