diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp index 70d70e342a8..d27539b2419 100644 --- a/src/gui/painting/qtextureglyphcache.cpp +++ b/src/gui/painting/qtextureglyphcache.cpp @@ -309,8 +309,6 @@ void QImageTextureGlyphCache::fillTexture(const Coord &c, return; } #endif - Q_ASSERT(mask.width() <= c.w && mask.height() <= c.h); - if (m_format == QFontEngine::Format_A32 || m_format == QFontEngine::Format_ARGB) { QImage ref(m_image.bits() + (c.x * 4 + c.y * m_image.bytesPerLine()),