Browse Source

Shaders: forgot to test this here.

pull/499/head
Vladimír Vondruš 3 years ago
parent
commit
f7d1446817
  1. 4
      src/Magnum/Shaders/Test/MeshVisualizerGLTest.cpp

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

@ -1618,6 +1618,8 @@ void MeshVisualizerGLTest::constructUniformBuffers2D() {
.setMaterialCount(data.materialCount)
.setDrawCount(data.drawCount)};
CORRADE_COMPARE(shader.flags(), data.flags);
CORRADE_COMPARE(shader.materialCount(), data.materialCount);
CORRADE_COMPARE(shader.drawCount(), data.drawCount);
CORRADE_VERIFY(shader.id());
{
#if defined(CORRADE_TARGET_APPLE) && !defined(MAGNUM_TARGET_GLES)
@ -1698,6 +1700,8 @@ void MeshVisualizerGLTest::constructUniformBuffers3D() {
.setMaterialCount(data.materialCount)
.setDrawCount(data.drawCount)};
CORRADE_COMPARE(shader.flags(), data.flags);
CORRADE_COMPARE(shader.materialCount(), data.materialCount);
CORRADE_COMPARE(shader.drawCount(), data.drawCount);
CORRADE_VERIFY(shader.id());
{
#if defined(CORRADE_TARGET_APPLE) && !defined(MAGNUM_TARGET_GLES)

Loading…
Cancel
Save