From d482b3dc1c3d5179e8ab1f388d09298526680f9e Mon Sep 17 00:00:00 2001 From: aszabo314 Date: Wed, 6 Dec 2023 14:20:11 +0100 Subject: [PATCH] [ContextHandles] GL.Enable(EnableCap.PointSprite) --- RELEASE_NOTES.md | 5 +++++ src/Aardvark.Rendering.GL/Core/ContextHandles.fs | 1 + 2 files changed, 6 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index a2d3bb66..44926f59 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,8 @@ +### 5.4.6 +- [ContextHandles] GL.Enable(EnableCap.PointSprite) +- [ManagedPool] Avoid evaluating draw call set if not active +- Fix BlendMode.Blend source alpha factor + ### 5.4.5 - [GeometryPool] Fixed wrongly disposed shader caches diff --git a/src/Aardvark.Rendering.GL/Core/ContextHandles.fs b/src/Aardvark.Rendering.GL/Core/ContextHandles.fs index 3a44914a..467c0f6f 100644 --- a/src/Aardvark.Rendering.GL/Core/ContextHandles.fs +++ b/src/Aardvark.Rendering.GL/Core/ContextHandles.fs @@ -31,6 +31,7 @@ module ContextHandleGLExtensions = type GL with static member SetDefaultStates() = GL.Enable(EnableCap.TextureCubeMapSeamless) + GL.Enable(EnableCap.PointSprite) GL.Disable(EnableCap.PolygonSmooth) GL.Hint(HintTarget.FragmentShaderDerivativeHint, HintMode.Nicest) if RuntimeConfig.DepthRange = DepthRange.ZeroToOne then