Integrated sdl2-cs bindings for sdl2

This is using the sdl2/pure branch of https://github.com/thefiddler/SDL2-CS.git which contains the SDL2 bindings without MiniTK.
This commit is contained in:
thefiddler 2013-09-27 14:33:52 +02:00
parent 3989b94e68
commit 89845d5ff9
3 changed files with 9 additions and 2 deletions

View file

@ -782,6 +782,10 @@
<Compile Include="IntPtrEqualityComparer.cs" />
<Compile Include="Input\GamePadButton.cs" />
<Compile Include="Input\GamePadAxis.cs" />
<None Include="Platform\SDL2\sdl2-cs\LICENSE" />
<None Include="Platform\SDL2\sdl2-cs\README" />
<Compile Include="Platform\SDL2\sdl2-cs\src\LPUtf8StrMarshaler.cs" />
<Compile Include="Platform\SDL2\sdl2-cs\src\SDL2.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
@ -790,4 +794,7 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Folder Include="Platform\SDL2\" />
</ItemGroup>
</Project>

View file

@ -28,7 +28,7 @@ using System;
using System.Text;
using System.Runtime.InteropServices;
namespace SDL2
namespace OpenTK.Platform.SDL2
{
internal unsafe class LPUtf8StrMarshaler : ICustomMarshaler
{

View file

@ -31,7 +31,7 @@ using System;
using System.Runtime.InteropServices;
#endregion
namespace SDL2
namespace OpenTK.Platform.SDL2
{
/// <summary>
/// Entry point for all SDL-related (non-extension) types and methods