diff --git a/src/Plugins/TgaImporter/TgaImporter.cpp b/src/Plugins/TgaImporter/TgaImporter.cpp index 353c03da0..01c862d44 100644 --- a/src/Plugins/TgaImporter/TgaImporter.cpp +++ b/src/Plugins/TgaImporter/TgaImporter.cpp @@ -44,6 +44,7 @@ namespace Magnum { namespace Trade { +#ifdef MAGNUM_TARGET_GLES namespace { constexpr Math::Vector3 bgr(const Math::Vector3& vec) { return Math::swizzle<'b', 'g', 'r'>(vec); @@ -53,6 +54,7 @@ namespace { return Math::swizzle<'b', 'g', 'r', 'a'>(vec); } } +#endif TgaImporter::TgaImporter(): in(nullptr) {}