From e1e1da99f742dd215020f9b19984403248676aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 26 May 2019 13:04:27 +0200 Subject: [PATCH] Platform: it's good to enable exts by default in EmscriptenApp. --- src/Magnum/Platform/EmscriptenApplication.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Platform/EmscriptenApplication.h b/src/Magnum/Platform/EmscriptenApplication.h index 1e75a2799..d9d7836ff 100644 --- a/src/Magnum/Platform/EmscriptenApplication.h +++ b/src/Magnum/Platform/EmscriptenApplication.h @@ -597,7 +597,7 @@ class EmscriptenApplication::GLConfiguration { * @brief Set context flags * @return Reference to self (for method chaining) * - * Default is no flags. + * Default is @ref Flag::EnableExtensionsByDefault. * @see @ref addFlags(), @ref clearFlags(), @ref GL::Context::flags() */ GLConfiguration& setFlags(Flags flags) { @@ -706,7 +706,7 @@ class EmscriptenApplication::GLConfiguration { Int _depthBufferSize, _stencilBufferSize; Int _sampleCount; - Flags _flags; + Flags _flags{Flag::EnableExtensionsByDefault}; }; CORRADE_ENUMSET_OPERATORS(EmscriptenApplication::GLConfiguration::Flags)