From 847df8350b9df6e2fa7b604c23ba86410a8c5570 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 18 Nov 2014 10:26:32 -0500 Subject: [PATCH] CreateSoftwareRenderer fix --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 5274c00..c74e236 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1677,7 +1677,7 @@ namespace SDL2 /* IntPtr refers to an SDL_Renderer*, surface to an SDL_Surface* */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern IntPtr SDL_CreateRenderer(IntPtr surface); + public static extern IntPtr SDL_CreateSoftwareRenderer(IntPtr surface); /* IntPtr refers to an SDL_Texture*, renderer to an SDL_Renderer* */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]