am 2be4e8ff: workaround to fix screenshot leak on N4

* commit '2be4e8ff23f24285f4c195ba5537c7a51c13be4d':
  workaround to fix screenshot leak on N4
This commit is contained in:
Mathias Agopian 2013-03-07 17:30:55 +00:00 committed by Android Git Automerger
commit 494db35f9c

View File

@ -2810,6 +2810,9 @@ status_t SurfaceFlinger::captureScreenImplLocked(
glDeleteTextures(1, &tname);
DisplayDevice::makeCurrent(mEGLDisplay,
getDefaultDisplayDevice(), mEGLContext);
return result;
}