From 9c475e36fafb40f1fb795e0af994e6b2fc9f2012 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 e6264bf..d1e5517 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1709,7 +1709,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)]