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

Commit 14bd8359 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Wallpaper software rendering fallback Bug #8230579"

parents 1a0939cd c8d983f7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -485,14 +485,12 @@ public class ImageWallpaper extends WallpaperService {

            glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);

            if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) {
                throw new RuntimeException("Cannot swap buffers");
            }
            boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
            checkEglError();

            finishGL();

            return true;
            return status;
        }

        private FloatBuffer createMesh(int left, int top, float right, float bottom) {