Revert "SDL_GL_SwapWindow now returns int"

This reverts commit cf7a5fa2a1.
This commit is contained in:
Ethan Lee 2017-10-04 17:14:42 -04:00
parent cf7a5fa2a1
commit f7dbc10af5

View file

@ -1603,7 +1603,7 @@ namespace SDL2
/* window refers to an SDL_Window* */ /* window refers to an SDL_Window* */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [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* */ /* texture refers to an SDL_Texture* */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]