From eb63e5d2f0df09a25a5a8b607fa983ef546a5527 Mon Sep 17 00:00:00 2001 From: "Randall E. Barker" Date: Wed, 15 Apr 2020 14:35:36 -0700 Subject: [PATCH] Ensure UI Hardware rending is only disabled on the tray and spinner. Fixes #3148 --- .../mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java | 1 + 1 file changed, 1 insertion(+) 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 fd1a93149..b42122734 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 @@ -45,6 +45,7 @@ public static void setRenderActive(boolean aActive) { mTextureWidth = aWidth; mTextureHeight = aHeight; mSurface = aSurface; + mIsHardwareAccelerationEnabled = sUseHardwareAcceleration; } void resize(int aWidth, int aHeight) {