Skip to content

Commit

Permalink
Enable software rendering (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored and bluemarvin committed Oct 23, 2019
1 parent 72a2790 commit edc0581
Showing 1 changed file with 1 addition and 1 deletion.
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 edc0581

Please sign in to comment.