diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java index 4a9ff8894..75b2e78a5 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java @@ -53,7 +53,7 @@ Canvas drawBegin() { mSurfaceCanvas = null; if (mSurface != null) { try { - mSurfaceCanvas = mSurface.lockCanvas(null); + mSurfaceCanvas = mSurface.lockHardwareCanvas(); mSurfaceCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR); } catch (Exception e){