microsoft / HoloJS

Provides a framework for creating holographic apps using JavaScript and WebGL.
MIT License
1.19k stars 114 forks source link

Send webglcontextlost and webglcontextrestored #161

Closed Almost-Done closed 6 years ago

Almost-Done commented 6 years ago

webglcontextlost and restored events were not being sent when the D3D device was lost and reinitialized. The OpenGL context got re-created but the script was not notified to re-create its resources.