Browse Source

GL: correctly propagate base instance to MeshViews in the test.

This caused an assertion on the CI where the llvmpipe driver supports
EXT_base_instance but not EXT_draw_elements_base_vertex. Ugh.
next
Vladimír Vondruš 2 months ago
parent
commit
d7750f4559
  1. 2
      src/Magnum/GL/Test/MeshGLTest.cpp

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

@ -1238,7 +1238,7 @@ Checker::Checker(AbstractShaderProgram&& shader, RenderbufferFormat format, Mesh
view.setCount(1) view.setCount(1)
.setBaseVertex(mesh.baseVertex()) .setBaseVertex(mesh.baseVertex())
.setInstanceCount(mesh.instanceCount()) .setInstanceCount(mesh.instanceCount())
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES2
.setBaseInstance(mesh.baseInstance()) .setBaseInstance(mesh.baseInstance())
#endif #endif
; ;

Loading…
Cancel
Save