Skip to content

Proper handling of "WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost" and how to restore #723

Answered by Pr3s4ri0
Pr3s4ri0 asked this question in Q&A
Discussion options

You must be logged in to vote

Just FYI ... I think I solved it on my own .. I found issue in my code causing a leak, after removing it don't get
WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost any more.

Also default handling of webglcontextlost and webglcontextrestored events is done in THREE.WebGLRenderer so nothing is needed in the app.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@drcmda
Comment options

Answer selected by Pr3s4ri0
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@drcmda
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants