SDL2# - C# Wrapper for SDL2

SDL_DrawGeometry now matches C library closer

authored by keii and committed by GitHub 6862b80e f8c6fc40

Changed files
+10
src
+10
src/SDL2.cs
··· 3207 3207 int num_indices 3208 3208 ); 3209 3209 3210 + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] 3211 + public static extern int SDL_RenderGeometry( 3212 + IntPtr renderer, 3213 + IntPtr texture, 3214 + [In] SDL_Vertex[] vertices, 3215 + int num_vertices, 3216 + [In] IntPtr indices, 3217 + int num_indices 3218 + ); 3219 + 3210 3220 /* renderer refers to an SDL_Renderer* 3211 3221 * texture refers to an SDL_Texture* 3212 3222 * indices refers to a void*