Commit graph

355 commits

Author SHA1 Message Date
Ethan Lee 8e75771fca C# you idiot that struct is totally blittable 2018-03-30 11:15:48 -04:00
Ethan Lee 0f768e1c18 Fix SDL_GameControllerButtonBind layout 2018-03-30 10:43:46 -04:00
Ethan Lee bd3b64fe32 Fix for GetCallback function decls 2018-03-22 17:42:55 -04:00
Ethan Lee 9549b1c920 SDL_GL_GetProcAddress(IntPtr) 2018-03-22 17:00:23 -04:00
Ethan Lee 821c6aaf49 SDL_mixer 2.0.2 2018-02-25 11:12:06 -05:00
Ethan Lee c764309ae5 Dear CoreCLR team: Please fix this 2018-02-07 11:44:56 -05:00
Ethan Lee 5ec50891a3 Make ToNative null check similar to ToManaged null check 2018-01-15 21:57:30 -05:00
Keith Holman 77cffe2f92 When a null C# string is passed to UTF8_ToNative(), return a null pointer instead of an empty C string. 2018-01-15 14:18:50 -05:00
Ethan Lee ed4838b75d Typo fix (thanks @bplu4t2f!) 2017-12-16 12:35:32 -05:00
Keith Holman 64e2a93d55 Add bindings for the SDL_AUDIODEVICEADDED and SDL_AUDIODEVICEREMOVED events. 2017-12-05 21:10:32 -05:00
Ethan Lee 396299307f UnmanagedFunctionPointer attributes 2017-11-20 11:42:12 -05:00
Ethan Lee 41a2c5b93d Forgot that these are macros... :( 2017-11-18 20:55:37 -05:00
Ethan Lee 63aeac09ca SDL_image 2.0.2 2017-11-18 20:50:56 -05:00
Ethan Lee 14ef9e4643 WinRT hints 2017-11-14 20:02:35 -05:00
Ethan Lee d9bfc8b16a 2.0.7 2017-10-24 17:47:02 -04:00
Ethan Lee 2c3515f458 Core buildfix 2017-10-19 12:36:51 -04:00
Ethan Lee 795db4433d Replace LPUtf8StrMarshaler with internal UTF8 API 2017-10-19 12:30:01 -04:00
Ethan Lee 5785d3d464 Strip out the XML docs, replace with the basic IntPtr docs where appropriate.
Honestly this just got in the way and people know to refer to SDL's docs anyway.
2017-10-19 10:13:23 -04:00
Ethan Lee 11adade8c2 .NET Core 2.0 support! 2017-10-17 10:47:08 -04:00
Ethan Lee 912569d705 Remove junk from csproj 2017-10-17 10:45:46 -04:00
Ethan Lee 689dcf5342 SDL_WinRTRunApp 2017-10-11 09:15:17 -04:00
Ethan Lee f7dbc10af5 Revert "SDL_GL_SwapWindow now returns int"
This reverts commit cf7a5fa2a1.
2017-10-04 17:14:42 -04:00
Ethan Lee cf7a5fa2a1 SDL_GL_SwapWindow now returns int 2017-10-04 17:11:10 -04:00
Ethan Lee 0da7c81d81 2.0.6 Windows-only hints 2017-09-07 10:41:04 -04:00
Ethan Lee b9939c43e3 Fix TOUCH_MOUSE_EVENTS string 2017-09-07 10:38:49 -04:00
Ethan Lee 776b77c27f 2.0.6 pre-release changes 2017-09-07 10:37:23 -04:00
Ethan Lee 9cdd0079b4 Vulkan parameter type fixes 2017-08-31 20:56:29 -04:00
Ethan Lee dc98059905 ARB_create_context_robustness, KHR_no_error, Vulkan! 2017-08-31 16:21:39 -04:00
Ethan Lee 498a565eda SDL_Joystick/SDL_GameController updates from Hg 2017-07-28 13:21:20 -04:00
Jack Mott 705681d982 overload openaudio to allow null 2017-01-19 16:07:10 -05:00
Jack Mott d03071653d add SDL_UpdateTexture overload
Added an overload for SDL_UpdateTexture so that you can pass a null reference, which is allowed
by the SDL2 spec. Similar pattern already exists for SDL_RenderCopy
2017-01-19 09:45:45 -05:00
Ethan Lee 4ec65bc5a0 SDL_SetWindowInputFocus 2016-11-11 13:40:34 -05:00
Ethan Lee 8a51516de0 Add note about VS debugger silent exit 2016-10-24 17:12:49 -04:00
Ethan Lee a230993c4c 2.0.5 2016-10-20 10:25:04 -04:00
Ethan Lee 6f158b9f79 Fix SDL_BITSPERPIXEL 2016-08-17 15:19:22 -04:00
Ethan Lee cceef27e50 Removed QueryTexturePixels 2016-01-26 08:42:43 -05:00
Ethan Lee 9b6f16a238 SDL_GetDisplayName 2016-01-14 09:52:27 -05:00
Ethan Lee 8cf81bc2e6 Merge pull request #99 from dan200/master
Added bindings for SDL_PowerState and SDL_GetPowerInfo
2016-01-07 17:55:25 -05:00
Daniel Ratcliffe e3e22902e7 Added bindings for SDL_PowerState and SDL_GetPowerInfo 2016-01-07 22:34:21 +00:00
Ethan Lee c6fa4d1457 Happy New Year! 2016-01-04 11:55:36 -05:00
Ethan Lee d77d831acb Merge from sdl2-hg (2.0.4) 2016-01-04 11:49:39 -05:00
Ethan Lee 23e25a3b2d 2.0.4 2016-01-04 11:49:00 -05:00
Ethan Lee 1efc47ee26 SDL_FillRect overload 2015-12-30 19:16:29 -05:00
Ethan Lee a44c92397d .NET 3.5 fix 2015-12-30 19:14:29 -05:00
Ethan Lee 5d5f4154bb Case-sensitive output folders to match csproj 2015-12-16 18:35:18 -05:00
Ethan Lee 1c03cdfb2c Minor spacing fixes 2015-12-01 11:13:18 -05:00
Johannes Jacobs c2d58d61d5 Added SDL_RenderCopyEx overloads 2015-12-01 17:03:25 +01:00
Ethan Lee 0532deb9a6 Fix a couple SDL_pixels macros 2015-09-13 16:03:16 -04:00
Ethan Lee c41fcf5b19 Flags type sizes 2015-09-02 07:12:10 -04:00
Ethan Lee 2e9752838d Fix Win32 UTF8 marshaling 2015-07-20 10:03:42 -04:00