Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a08f6a66 authored by John Reck's avatar John Reck Committed by Gerrit Code Review
Browse files

Merge "Fix GL_INVALID_OPERATION in font renderer when font cache is limited."

parents d56e087b 1f61b191
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -183,6 +183,8 @@ void FontRenderer::flushAllAndInvalidate() {
    for (uint32_t i = 0; i < mRGBACacheTextures.size(); i++) {
        mRGBACacheTextures[i]->init();
    }

    mDrawn = false;
}

void FontRenderer::flushLargeCaches(Vector<CacheTexture*>& cacheTextures) {