mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-27 14:31:08 +00:00
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
|
@ -782,6 +782,10 @@
|
||||||
<Compile Include="IntPtrEqualityComparer.cs" />
|
<Compile Include="IntPtrEqualityComparer.cs" />
|
||||||
<Compile Include="Input\GamePadButton.cs" />
|
<Compile Include="Input\GamePadButton.cs" />
|
||||||
<Compile Include="Input\GamePadAxis.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>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
@ -790,4 +794,7 @@
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Platform\SDL2\" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -28,7 +28,7 @@ using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace SDL2
|
namespace OpenTK.Platform.SDL2
|
||||||
{
|
{
|
||||||
internal unsafe class LPUtf8StrMarshaler : ICustomMarshaler
|
internal unsafe class LPUtf8StrMarshaler : ICustomMarshaler
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
namespace SDL2
|
namespace OpenTK.Platform.SDL2
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Entry point for all SDL-related (non-extension) types and methods
|
/// Entry point for all SDL-related (non-extension) types and methods
|
||||||
|
|
Loading…
Reference in a new issue