Browse Source

GL: of course I pushed a total stupidity right to master.

Once again the case of not properly commiting working copy changes
before a push. This should have gone to
096f1a5269 already.
pull/680/head
Vladimír Vondruš 10 months ago
parent
commit
06e0118184
  1. 3
      src/Magnum/GL/Test/PixelStorageGLTest.cpp

3
src/Magnum/GL/Test/PixelStorageGLTest.cpp

@ -221,9 +221,8 @@ void PixelStorageGLTest::alignmentPack2D() {
if(Context::current().detectedDriver() & Context::DetectedDriver::SwiftShader) { if(Context::current().detectedDriver() & Context::DetectedDriver::SwiftShader) {
CORRADE_COMPARE(image.data().size(), Containers::arraySize(AlignmentData2D)); CORRADE_COMPARE(image.data().size(), Containers::arraySize(AlignmentData2D));
for(std::size_t i: {9, 19}) { for(std::size_t i: {9, 19}) {
CORRADE_ITERATION(i);
if(image.data()[i] != '\0') { if(image.data()[i] != '\0') {
CORRADE_WARN("Padding byte at offset 9 isn't zero but" << image.data()[i]); CORRADE_WARN("Padding byte at offset" << i << "isn't zero but" << image.data()[i]);
image.data()[i] = '\0'; image.data()[i] = '\0';
} }
} }

Loading…
Cancel
Save