From f7dbc10af521ebdba1c3f4b9f64e2479eac85908 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 4 Oct 2017 17:14:42 -0400 Subject: [PATCH] Revert "SDL_GL_SwapWindow now returns int" This reverts commit cf7a5fa2a12be5a23004ce3f40e3299c48950040. --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 75b4888..45bdf23 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1603,7 +1603,7 @@ namespace SDL2 /* window refers to an SDL_Window* */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern int SDL_GL_SwapWindow(IntPtr window); + public static extern void SDL_GL_SwapWindow(IntPtr window); /* texture refers to an SDL_Texture* */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]