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