From f60d2d0d6d51e246edf566e02a7e5f6886ffdb27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 7 Oct 2018 14:49:15 +0200 Subject: [PATCH] Platform: more consistent docs for features not available on WebGL. --- src/Magnum/Platform/Sdl2Application.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index 433b61df0..039dafa62 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -977,9 +977,8 @@ class Sdl2Application::GLConfiguration { /** * @brief Context flag * - * @note Not available in @ref CORRADE_TARGET_EMSCRIPTEN "Emscripten". * @see @ref Flags, @ref setFlags(), @ref Context::Flag - * @todo re-enable when Emscripten has proper SDL2 support + * @requires_gles Context flags are not available in WebGL. */ enum class Flag: int { Debug = SDL_GL_CONTEXT_DEBUG_FLAG, /**< Create debug context */ @@ -994,8 +993,8 @@ class Sdl2Application::GLConfiguration { /** * @brief Context flags * - * @note Not available in @ref CORRADE_TARGET_EMSCRIPTEN "Emscripten". * @see @ref setFlags(), @ref Context::Flags + * @requires_gles Context flags are not available in WebGL. */ #ifndef DOXYGEN_GENERATING_OUTPUT typedef Containers::EnumSet