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

Commit 197687a7 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "FontRenderer: do not leak mIndexBufferID" into ics

parents 7b218c76 fdbfb0af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -368,6 +368,10 @@ FontRenderer::~FontRenderer() {
        delete[] mTextTexture;
    }

    if (mIndexBufferID) {
        glDeleteBuffers(1, &mIndexBufferID);
    }

    if (mTextureId) {
        glDeleteTextures(1, &mTextureId);
    }