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 }; /**