Skip to content

Commit

Permalink
This is Preview 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Feb 18, 2020
1 parent ad2e271 commit 81993d8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
19 changes: 17 additions & 2 deletions build/props/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,27 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<LangVersion>8.0</LangVersion>
<PackageReleaseNotes>
Silk.NET 1.0 Preview 5

- Added cursor modes
- Added EGL bindings (no windowing backend yet)
- Rewrite the overload system, hopefully resulting in overloads that make sense.
- Miscellaenous Silk.NET.Core improvements
- Updated to SuperInvoke 1.0.3, encompassing a lot of bug fixes.
- Updated to GLFW 3.3.2, encompassing a lot of bug fixes.
- Fix an infinite loop in OpenAL's GetStringList methods
- Other bug fixes

As a result of the new overload system, some work may be required to migrate to Preivew 5 from an earlier
preview.
</PackageReleaseNotes>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
<RepositoryUrl>https://github.com/Ultz/Silk.NET</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<Version>1.0.0-preview4$(VersionSuffix)</Version>
<Description>Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenAL, and Vulkan.</Description>
<Version>1.0.0-preview5$(VersionSuffix)</Version>
<Description>
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, and Vulkan.
</Description>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Core/Silk.NET.Core/Silk.NET.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.7.0" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" />
<PackageReference Include="System.Numerics.Vectors" Version="4.6.0-preview5.19224.8" />
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
<PackageReference Include="Ultz.SuperInvoke" Version="1.0.3" />
</ItemGroup>

Expand Down
3 changes: 1 addition & 2 deletions src/Lab/Triangle/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ private static unsafe void Load()
_gl = GL.GetApi();
_gl.Enable(GLEnum.DebugOutput);
_gl.Enable(GLEnum.DebugOutputSynchronous);
_gl.DebugMessageCallback
((a, b, c, d, e, f, g) => Console.WriteLine($"{a} {b} {c} {d} {e} {Marshal.PtrToStringAnsi(f)}"), null);
_gl.DebugMessageCallback(OnDebug, null);
_gl.ClearColor(0.2f, 0.3f, 0.3f, 1.0f);
_vertexBufferObject = _gl.GenBuffer();
_gl.BindBuffer(GLEnum.ArrayBuffer, _vertexBufferObject);
Expand Down
4 changes: 0 additions & 4 deletions src/Lab/Triangle/Triangle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<ProjectReference Include="..\..\Windowing\Silk.NET.Windowing\Silk.NET.Windowing.csproj" />
<ProjectReference Include="..\SampleBase\SampleBase.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.0" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="*.vert" />
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ItemGroup>
<PackageReference Include="System.Buffers" Version="4.5.0" />
<PackageReference Include="System.Numerics.Vectors" Version="4.6.0-preview5.19224.8" />
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
</ItemGroup>

<Import Project="..\..\..\build\props\bindings.props" />
Expand Down
2 changes: 1 addition & 1 deletion src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.0" />
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.2" />
</ItemGroup>

<Import Project="..\..\..\build\props\bindings.props" />
Expand Down

0 comments on commit 81993d8

Please sign in to comment.