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

Commit 96e383cb authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 50620113: am 175264b0: Return NO_MEMORY when glReadPixels() fails.

* commit '50620113':
  Return NO_MEMORY when glReadPixels() fails.
parents 03cacfd2 50620113
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2815,6 +2815,8 @@ status_t SurfaceFlinger::captureScreenImplLocked(
                    *h = sh;
                    *f = PIXEL_FORMAT_RGBA_8888;
                    result = NO_ERROR;
                } else {
                    result = NO_MEMORY;
                }
            } else {
                result = NO_MEMORY;