Browse Source

GL: properly skip a test on a no-assert build.

pull/518/head
Vladimír Vondruš 5 years ago
parent
commit
d44514b60f
  1. 4
      src/Magnum/GL/Test/MeshGLTest.cpp

4
src/Magnum/GL/Test/MeshGLTest.cpp

@ -3364,6 +3364,10 @@ void MeshGLTest::multiDrawIndexed() {
}
void MeshGLTest::multiDrawInstanced() {
#ifdef CORRADE_NO_ASSERT
CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions");
#endif
Mesh mesh;
MeshView view{mesh};
view.setCount(3)

Loading…
Cancel
Save