Remove test code [skip appveyor] [skip travis]

This commit is contained in:
halx99 2020-08-31 16:31:37 +08:00
parent 086c3dee3c
commit 65a7bd5360
1 changed files with 1 additions and 1 deletions

View File

@ -1532,7 +1532,7 @@ bool Image::initWithETCData(const unsigned char* data, ssize_t dataLen, bool own
else
compressedFormat = backend::PixelFormat::NONE;
if (compressedFormat != backend::PixelFormat::NONE && false)
if (compressedFormat != backend::PixelFormat::NONE)
{
//old opengl version has no define for GL_ETC1_RGB8_OES, add macro to make compiler happy.
#if defined(GL_ETC1_RGB8_OES) || defined(CC_USE_METAL)