From 7c07c6fdc6dbcd430379ae078c6088b8a57667da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 3 Mar 2021 14:31:23 +0100 Subject: [PATCH] GL: make FramebufferClearColor searchable under GL keywords. 'cuz I was writing some raw GL for Emscripten tests and arrived at glClear(GL_COLOR); without having any suspicion that this is just TOTALLY WRONG. Same would go for Vulkan few years ahead when I'm so used to the Magnum wrappers that I forget what the common pitfalls are. --- src/Magnum/GL/AbstractFramebuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Magnum/GL/AbstractFramebuffer.h b/src/Magnum/GL/AbstractFramebuffer.h index 73e1a030b..c03a5c0b3 100644 --- a/src/Magnum/GL/AbstractFramebuffer.h +++ b/src/Magnum/GL/AbstractFramebuffer.h @@ -41,6 +41,7 @@ namespace Magnum { namespace GL { @brief Mask for framebuffer clearing @see @ref AbstractFramebuffer, @ref FramebufferClearMask +@m_enum_values_as_keywords */ enum class FramebufferClear: GLbitfield { Color = GL_COLOR_BUFFER_BIT, /**< Color buffer */