Browse Source

Unbreak non-ES compatibility build.

Vladimír Vondruš 13 years ago
parent
commit
d24a965c4b
  1. 2
      src/Plugins/TgaImporter/TgaImporter.cpp

2
src/Plugins/TgaImporter/TgaImporter.cpp

@ -44,6 +44,7 @@
namespace Magnum { namespace Trade {
#ifdef MAGNUM_TARGET_GLES
namespace {
constexpr Math::Vector3<UnsignedByte> bgr(const Math::Vector3<UnsignedByte>& 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) {}

Loading…
Cancel
Save