am 82018f99
: Forgot to reset the matrix of offscreen canvas
* commit '82018f99727a104aa77ab4d48f8b9a9858479453': Forgot to reset the matrix of offscreen canvas
This commit is contained in:
commit
eba1ad955e
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ public final class GestureTrailsPreview extends AbstractDrawingPreview {
|
|||
|
||||
private void freeOffscreenBuffer() {
|
||||
mOffscreenCanvas.setBitmap(null);
|
||||
mOffscreenCanvas.setMatrix(null);
|
||||
if (mOffscreenBuffer != null) {
|
||||
mOffscreenBuffer.recycle();
|
||||
mOffscreenBuffer = null;
|
||||
|
|
Loading…
Reference in a new issue