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

Commit a9d07113 authored by Romain Guy's avatar Romain Guy
Browse files

Don't break the build!

Change-Id: I42f68c7b023c03adeedc4e979e5f4705188ee9f4
parent 6c319ca1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -99,8 +99,7 @@ void LayerRenderer::resizeLayer(GLuint fbo, GLuint texture, uint32_t width, uint

    if (glGetError() != GL_NO_ERROR) {
        glDeleteBuffers(1, &fbo);
        glDeleteTextures(1, texture);
        glBindFramebuffer(GL_FRAMEBUFFER, previousFbo);
        glDeleteTextures(1, &texture);

        *layerWidth = 0;
        *layerHeight = 0;