Browse Source

GL: fix unused variable in a WebGL 1 test.

pull/331/head
Vladimír Vondruš 7 years ago
parent
commit
a83d225e3f
  1. 2
      src/Magnum/GL/Test/TextureGLTest.cpp

2
src/Magnum/GL/Test/TextureGLTest.cpp

@ -354,6 +354,7 @@ const struct {
}; };
#endif #endif
#if !(defined(MAGNUM_TARGET_GLES2) && defined(MAGNUM_TARGET_WEBGL))
/* Just 4x4x8 0x00 - 0xff compressed using RGBA BPTC Unorm by the driver */ /* Just 4x4x8 0x00 - 0xff compressed using RGBA BPTC Unorm by the driver */
constexpr UnsignedByte CompressedData3D[]{ constexpr UnsignedByte CompressedData3D[]{
64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@ -372,7 +373,6 @@ constexpr UnsignedByte CompressedData3D[]{
84, 253, 73, 34, 109, 100, 91, 251 84, 253, 73, 34, 109, 100, 91, 251
}; };
#if !(defined(MAGNUM_TARGET_GLES2) && defined(MAGNUM_TARGET_WEBGL))
const struct { const struct {
const char* name; const char* name;
Containers::ArrayView<const UnsignedByte> data; Containers::ArrayView<const UnsignedByte> data;

Loading…
Cancel
Save