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

Commit a604148

Browse files
authored
Ensure UI Hardware rending is only disabled on the tray and spinner. (#3172)
Fixes #3148
1 parent cd232d9 commit a604148

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/UISurfaceTextureRenderer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public static void setRenderActive(boolean aActive) {
4545
mTextureWidth = aWidth;
4646
mTextureHeight = aHeight;
4747
mSurface = aSurface;
48+
mIsHardwareAccelerationEnabled = sUseHardwareAcceleration;
4849
}
4950

5051
void resize(int aWidth, int aHeight) {

0 commit comments

Comments
 (0)