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:
parent
3989b94e68
commit
89845d5ff9
3 changed files with 9 additions and 2 deletions
|
@ -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>
|
|
@ -28,7 +28,7 @@ using System;
|
|||
using System.Text;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SDL2
|
||||
namespace OpenTK.Platform.SDL2
|
||||
{
|
||||
internal unsafe class LPUtf8StrMarshaler : ICustomMarshaler
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue