Browse Source

Fix tests on ES build.

pull/38/head
Vladimír Vondruš 13 years ago
parent
commit
c24bae8431
  1. 4
      src/Test/ShaderGLTest.cpp

4
src/Test/ShaderGLTest.cpp

@ -46,7 +46,11 @@ void ShaderGLTest::label() {
!Context::current()->isExtensionSupported<Extensions::GL::EXT::debug_label>())
CORRADE_SKIP("Required extension is not available");
#ifndef MAGNUM_TARGET_GLES
Shader shader(Version::GL210, Shader::Type::Vertex);
#else
Shader shader(Version::GLES200, Shader::Type::Vertex);
#endif
CORRADE_COMPARE(shader.label(), "");
shader.setLabel("MyShader");

Loading…
Cancel
Save