|
|
|
@ -725,8 +725,14 @@ void MeshGLTest::addVertexBufferMatrixNxNd() { |
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
|
|
|
|
|
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted"); |
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* This is wrong, but check if it's still the right wrong */ |
|
|
|
|
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 0)); |
|
|
|
|
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
@ -782,8 +788,14 @@ void MeshGLTest::addVertexBufferMatrixMxNd() { |
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
|
|
|
|
|
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted"); |
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* This is wrong, but check if it's still the right wrong */ |
|
|
|
|
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 0)); |
|
|
|
|
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|