Browse Source

Shaders: properly skip a test if image plugins are not available.

pull/427/merge
Vladimír Vondruš 6 years ago
parent
commit
8b0ad005d8
  1. 4
      src/Magnum/Shaders/Test/MeshVisualizerGLTest.cpp

4
src/Magnum/Shaders/Test/MeshVisualizerGLTest.cpp

@ -1737,6 +1737,10 @@ void MeshVisualizerGLTest::renderTangentBitangentNormal() {
MAGNUM_VERIFY_NO_GL_ERROR(); MAGNUM_VERIFY_NO_GL_ERROR();
if(!(_manager.loadState("AnyImageImporter") & PluginManager::LoadState::Loaded) ||
!(_manager.loadState("TgaImporter") & PluginManager::LoadState::Loaded))
CORRADE_SKIP("AnyImageImporter / TgaImageImporter plugins not found.");
/* Slight rasterization differences on AMD. If /* Slight rasterization differences on AMD. If
GL_NV_shader_noperspective_interpolation is not supported, the artifacts GL_NV_shader_noperspective_interpolation is not supported, the artifacts
are bigger. */ are bigger. */

Loading…
Cancel
Save