Browse Source

MeshTools: minor code reordering in a test.

pull/499/head
Vladimír Vondruš 3 years ago
parent
commit
986f2acade
  1. 16
      src/Magnum/MeshTools/Test/CompileGLTest.cpp

16
src/Magnum/MeshTools/Test/CompileGLTest.cpp

@ -201,6 +201,14 @@ const struct {
{"positions, object id, nonindexed", Flag::ObjectId|Flag::NonIndexed, {}}
};
constexpr struct {
const char* name;
CompileFlags flags;
} CustomAttributeWarningData[] {
{"", {}},
{"no warning", CompileFlag::NoWarnOnCustomAttributes}
};
constexpr struct {
const char* name;
bool indexed, moveIndices, moveVertices;
@ -212,14 +220,6 @@ constexpr struct {
{"move both", true, true, true}
};
constexpr struct {
const char* name;
CompileFlags flags;
} CustomAttributeWarningData[] {
{"", {}},
{"no warning", CompileFlag::NoWarnOnCustomAttributes}
};
using namespace Math::Literals;
constexpr Color4ub ImageData[] {

Loading…
Cancel
Save