|
|
|
|
@ -725,7 +725,13 @@ void MeshGLTest::addVertexBufferMatrixNxNd() {
|
|
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
|
|
|
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted"); |
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
@ -782,7 +788,13 @@ void MeshGLTest::addVertexBufferMatrixMxNd() {
|
|
|
|
|
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); |
|
|
|
|
|
|
|
|
|
MAGNUM_VERIFY_NO_ERROR(); |
|
|
|
|
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted"); |
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|