Browse Source

GL: this unused template warning had a point, though.

A helper that was in this test code since 2015, likely unused for a very
long time.
next
Vladimír Vondruš 4 weeks ago
parent
commit
502572cc92
  1. 5
      src/Magnum/GL/Test/CubeMapTextureGLTest.cpp

5
src/Magnum/GL/Test/CubeMapTextureGLTest.cpp

@ -492,11 +492,6 @@ CubeMapTextureGLTest::CubeMapTextureGLTest() {
using namespace Containers::Literals; using namespace Containers::Literals;
#endif #endif
template<std::size_t size, class T> Containers::ArrayView<const T> unsafeSuffix(const T(&data)[size], std::size_t offset) {
static_assert(sizeof(T) == 1, "");
return {data - offset, size + offset};
}
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
void CubeMapTextureGLTest::compressedBlockSize() { void CubeMapTextureGLTest::compressedBlockSize() {
/* For uncompressed formats returns zero */ /* For uncompressed formats returns zero */

Loading…
Cancel
Save