diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index d651b3f34..5a8823d61 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -5950,7 +5950,7 @@ namespace bgfx { namespace gl const bool unpackRowLength = !!BGFX_CONFIG_RENDERER_OPENGL || s_extension[Extension::EXT_unpack_subimage].m_supported; const bool compressed = bimg::isCompressed(bimg::TextureFormat::Enum(m_requestedFormat) ); const bool convert = false - || (compressed && m_textureFormat != m_requestedFormat) + || (!compressed && m_textureFormat != m_requestedFormat) || swizzle ;