diff --git a/src/Magnum/GL/Test/MeshGLTest.cpp b/src/Magnum/GL/Test/MeshGLTest.cpp index c882b38c1..b58582c00 100644 --- a/src/Magnum/GL/Test/MeshGLTest.cpp +++ b/src/Magnum/GL/Test/MeshGLTest.cpp @@ -1451,6 +1451,10 @@ void MeshGLTest::addVertexBufferUnsignedIntWithShort() { CORRADE_SKIP(Extensions::EXT::gpu_shader4::string() << "is not supported."); #endif + #ifdef MAGNUM_TARGET_WEBGL + CORRADE_SKIP("WebGL doesn't allow supplying signed data to an unsigned attribute."); + #endif + constexpr Short data[] = { 0, 24563, 2128, 3821, 16583 }; Buffer buffer; buffer.setData(data, BufferUsage::StaticDraw); @@ -1489,6 +1493,10 @@ void MeshGLTest::addVertexBufferIntWithUnsignedShort() { CORRADE_SKIP(Extensions::EXT::gpu_shader4::string() << "is not supported."); #endif + #ifdef MAGNUM_TARGET_WEBGL + CORRADE_SKIP("WebGL doesn't allow supplying unsigned data to a signed attribute."); + #endif + constexpr UnsignedShort data[] = { 0, 49563, 2128, 3821, 16583 }; Buffer buffer; buffer.setData(data, BufferUsage::StaticDraw);