From 81993d85eb7bac2c9014707623f594083c4b7200 Mon Sep 17 00:00:00 2001 From: DMP9 Date: Tue, 18 Feb 2020 22:24:25 +0000 Subject: [PATCH] This is Preview 5. --- build/props/common.props | 19 +++++++++++++++++-- src/Core/Silk.NET.Core/Silk.NET.Core.csproj | 2 +- src/Lab/Triangle/Program.cs | 3 +-- src/Lab/Triangle/Triangle.csproj | 4 ---- .../Silk.NET.OpenAL/Silk.NET.OpenAL.csproj | 2 +- .../Silk.NET.GLFW/Silk.NET.GLFW.csproj | 2 +- 6 files changed, 21 insertions(+), 11 deletions(-) diff --git a/build/props/common.props b/build/props/common.props index 6de7a14788..28696abc60 100644 --- a/build/props/common.props +++ b/build/props/common.props @@ -4,12 +4,27 @@ MIT 8.0 + 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. true $(MSBuildThisFileDirectory)/../output_packages https://github.com/Ultz/Silk.NET Git - 1.0.0-preview4$(VersionSuffix) - Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenAL, and Vulkan. + 1.0.0-preview5$(VersionSuffix) + + Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, and Vulkan. + diff --git a/src/Core/Silk.NET.Core/Silk.NET.Core.csproj b/src/Core/Silk.NET.Core/Silk.NET.Core.csproj index 85c61c7a30..ed75dacb24 100644 --- a/src/Core/Silk.NET.Core/Silk.NET.Core.csproj +++ b/src/Core/Silk.NET.Core/Silk.NET.Core.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/Lab/Triangle/Program.cs b/src/Lab/Triangle/Program.cs index 042684ea98..f28a670349 100644 --- a/src/Lab/Triangle/Program.cs +++ b/src/Lab/Triangle/Program.cs @@ -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); diff --git a/src/Lab/Triangle/Triangle.csproj b/src/Lab/Triangle/Triangle.csproj index 4efd8f5404..207b995662 100644 --- a/src/Lab/Triangle/Triangle.csproj +++ b/src/Lab/Triangle/Triangle.csproj @@ -15,10 +15,6 @@ - - - - diff --git a/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj b/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj index bc05a9a7c4..23839d6e44 100644 --- a/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj +++ b/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj b/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj index 31b6b26a3d..31d51d3644 100644 --- a/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj +++ b/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj @@ -7,7 +7,7 @@ - +