am 2be4e8ff
: workaround to fix screenshot leak on N4
* commit '2be4e8ff23f24285f4c195ba5537c7a51c13be4d': workaround to fix screenshot leak on N4
This commit is contained in:
commit
494db35f9c
@ -2810,6 +2810,9 @@ status_t SurfaceFlinger::captureScreenImplLocked(
|
|||||||
|
|
||||||
glDeleteTextures(1, &tname);
|
glDeleteTextures(1, &tname);
|
||||||
|
|
||||||
|
DisplayDevice::makeCurrent(mEGLDisplay,
|
||||||
|
getDefaultDisplayDevice(), mEGLContext);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user