Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Enable software rendering (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Nov 7, 2019
1 parent 3a5a1bc commit da4df39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Canvas drawBegin() {
mSurfaceCanvas = null;
if (mSurface != null) {
try {
mSurfaceCanvas = mSurface.lockHardwareCanvas();
mSurfaceCanvas = mSurface.lockCanvas(null);
mSurfaceCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);
}
catch (Exception e){
Expand Down

0 comments on commit da4df39

Please sign in to comment.