From 642a90f75dc1ca5512724e88a6ff790d7beb9b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 3 Dec 2020 16:58:20 +0100 Subject: [PATCH] GL: fix the value of Renderer::Memory::Barrier::ShaderStorage. Sigh. --- doc/changelog.dox | 1 + src/Magnum/GL/Renderer.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index ea548755b..9d7744519 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -239,6 +239,7 @@ See also: - @ref GL::Context move constructor was not marked @cpp noexcept @ce by accident +- @ref GL::Renderer::MemoryBarrier::ShaderStorage had an incorrect value - @ref Platform::EmscriptenApplication randomly created antialiased contexts due to an uninitialized variable in its @ref Platform::EmscriptenApplication::GLConfiguration "GLConfiguration" diff --git a/src/Magnum/GL/Renderer.h b/src/Magnum/GL/Renderer.h index f3a9a70ac..9ed28fccb 100644 --- a/src/Magnum/GL/Renderer.h +++ b/src/Magnum/GL/Renderer.h @@ -1898,7 +1898,7 @@ class MAGNUM_GL_EXPORT Renderer { * 3.0 and older. * @requires_gles Shader storage is not available in WebGL. */ - ShaderStorage = GL_ATOMIC_COUNTER_BARRIER_BIT + ShaderStorage = GL_SHADER_STORAGE_BARRIER_BIT }; /**