Skip to content

Commit

Permalink
Update OverlayDrawer.java (natario1#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
EzequielAdrianM authored Apr 5, 2023
1 parent e26ac95 commit b279ffa
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ public void draw(@NonNull Overlay.Target target) {
}
synchronized (mIssue514WorkaroundLock) {
mIssue514Workaround.beforeOverlayUpdateTexImage();
mSurfaceTexture.updateTexImage();
try {
mSurfaceTexture.updateTexImage();
} catch (IllegalStateException e) {
LOG.w("Got IllegalStateException while updating texture contents", e);
}
}
mSurfaceTexture.getTransformMatrix(mTextureDrawer.getTextureTransform());
}
Expand Down

0 comments on commit b279ffa

Please sign in to comment.