Skip to content

Commit 81993d8

Browse files
committed
This is Preview 5.
1 parent ad2e271 commit 81993d8

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

build/props/common.props

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,27 @@
44
<PackageLicenseExpression>MIT</PackageLicenseExpression>
55
<LangVersion>8.0</LangVersion>
66
<PackageReleaseNotes>
7+
Silk.NET 1.0 Preview 5
8+
9+
- Added cursor modes
10+
- Added EGL bindings (no windowing backend yet)
11+
- Rewrite the overload system, hopefully resulting in overloads that make sense.
12+
- Miscellaenous Silk.NET.Core improvements
13+
- Updated to SuperInvoke 1.0.3, encompassing a lot of bug fixes.
14+
- Updated to GLFW 3.3.2, encompassing a lot of bug fixes.
15+
- Fix an infinite loop in OpenAL's GetStringList methods
16+
- Other bug fixes
17+
18+
As a result of the new overload system, some work may be required to migrate to Preivew 5 from an earlier
19+
preview.
720
</PackageReleaseNotes>
821
<GenerateDocumentationFile>true</GenerateDocumentationFile>
922
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
1023
<RepositoryUrl>https://github.com/Ultz/Silk.NET</RepositoryUrl>
1124
<RepositoryType>Git</RepositoryType>
12-
<Version>1.0.0-preview4$(VersionSuffix)</Version>
13-
<Description>Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenAL, and Vulkan.</Description>
25+
<Version>1.0.0-preview5$(VersionSuffix)</Version>
26+
<Description>
27+
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, and Vulkan.
28+
</Description>
1429
</PropertyGroup>
1530
</Project>

src/Core/Silk.NET.Core/Silk.NET.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
1313
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.7.0" />
1414
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" />
15-
<PackageReference Include="System.Numerics.Vectors" Version="4.6.0-preview5.19224.8" />
15+
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
1616
<PackageReference Include="Ultz.SuperInvoke" Version="1.0.3" />
1717
</ItemGroup>
1818

src/Lab/Triangle/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ private static unsafe void Load()
5454
_gl = GL.GetApi();
5555
_gl.Enable(GLEnum.DebugOutput);
5656
_gl.Enable(GLEnum.DebugOutputSynchronous);
57-
_gl.DebugMessageCallback
58-
((a, b, c, d, e, f, g) => Console.WriteLine($"{a} {b} {c} {d} {e} {Marshal.PtrToStringAnsi(f)}"), null);
57+
_gl.DebugMessageCallback(OnDebug, null);
5958
_gl.ClearColor(0.2f, 0.3f, 0.3f, 1.0f);
6059
_vertexBufferObject = _gl.GenBuffer();
6160
_gl.BindBuffer(GLEnum.ArrayBuffer, _vertexBufferObject);

src/Lab/Triangle/Triangle.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
<ProjectReference Include="..\..\Windowing\Silk.NET.Windowing\Silk.NET.Windowing.csproj" />
1616
<ProjectReference Include="..\SampleBase\SampleBase.csproj" />
1717
</ItemGroup>
18-
19-
<ItemGroup>
20-
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.0" />
21-
</ItemGroup>
2218

2319
<ItemGroup>
2420
<EmbeddedResource Include="*.vert" />

src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<PackageReference Include="System.Buffers" Version="4.5.0" />
16-
<PackageReference Include="System.Numerics.Vectors" Version="4.6.0-preview5.19224.8" />
16+
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
1717
</ItemGroup>
1818

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

src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.0" />
10+
<PackageReference Include="Ultz.Native.GLFW" Version="3.3.2" />
1111
</ItemGroup>
1212

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

0 commit comments

Comments
 (0)