Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWebGLRenderingContext. isContextLost() is undefined #27116
Closed
Labels
Projects
Comments
bors-servo
added a commit
that referenced
this issue
Jul 3, 2020
Add stub isContextLost API. We don't support losing contexts yet, so it's not lying to say that the context is never lost. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27116 - [x] There are tests for these changes
bors-servo
added a commit
that referenced
this issue
Jul 6, 2020
Add stub isContextLost API. We don't support losing contexts yet, so it's not lying to say that the context is never lost. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27116 - [x] There are tests for these changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The method WebGLRenderingContext. isContextLost() doesn't exist in Firefox Reality on Hololens 2.
Every Unity 3D WebGL build use this method.
I am using this workaround to make it work : https://github.com/Rufus31415/Simple-WebXR-Unity/blob/28331fc890e316e13401618a8e0da1e84bad7a39/Assets/SimpleWebXR.jspre#L6