From e3cf1660ec2d7824bbeadf10b58c8593a12f64d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 4 Sep 2023 20:44:20 +0200 Subject: [PATCH] GL: document why this EM_ASM() stays here. --- src/Magnum/GL/Implementation/driverSpecific.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/GL/Implementation/driverSpecific.cpp b/src/Magnum/GL/Implementation/driverSpecific.cpp index 091fc8225..c0b99b200 100644 --- a/src/Magnum/GL/Implementation/driverSpecific.cpp +++ b/src/Magnum/GL/Implementation/driverSpecific.cpp @@ -646,6 +646,9 @@ void Context::setupDriverWorkarounds() { avoid having the workaround listed as used on older versions or other browsers */ if(isExtensionSupported()) { + /* Unlike other EM_ASM() macros, this one isn't put into a JS library + as it neither has any dependencies nor has code that may benefit + from settings-based preprocessing done for minification */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" const Int firefoxVersion = EM_ASM_INT({