diff --git a/src/Magnum/DebugTools/Test/TextureImageGLTest.cpp b/src/Magnum/DebugTools/Test/TextureImageGLTest.cpp index 4e940fb4f..02426799f 100644 --- a/src/Magnum/DebugTools/Test/TextureImageGLTest.cpp +++ b/src/Magnum/DebugTools/Test/TextureImageGLTest.cpp @@ -318,13 +318,8 @@ void TextureImageGLTest::subImageCubeBufferNotReadable() { CORRADE_SKIP(GL::Extensions::ARB::get_texture_sub_image::string() << "supported, can't test"); #endif - #ifdef MAGNUM_TARGET_GLES2 - GL::TextureFormat format = GL::TextureFormat::Luminance; - ImageView2D view{GL::PixelFormat::Luminance, GL::PixelType::UnsignedByte, Vector2i{2}, Data2D}; - #else GL::TextureFormat format = GL::TextureFormat::RGB9E5; ImageView2D view{GL::PixelFormat::RGB, GL::PixelType::UnsignedInt5999Rev, Vector2i{2}, Data2D}; - #endif GL::CubeMapTexture texture; texture.setImage(GL::CubeMapCoordinate::PositiveX, 0, format, view)