8000 Merge pull request #4777 from mafar/patch-1 · sightmachine/plotly.js@ffd1255 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffd1255

Browse files
authored
Merge pull request plotly#4777 from mafar/patch-1
Fix Missing WebGL Message plotly#4765
2 parents 4b76edf + 80e61ee commit ffd1255

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/prepare_regl.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ module.exports = function prepareRegl(gd, extensions) {
4949
success = false;
5050
}
5151

52+
if(!d.regl) success = false;
53+
5254
if(success) {
5355< 40B7 /code>
this.addEventListener('webglcontextlost', function(event) {
5456
if(gd && gd.emit) {

0 commit comments

Comments
 (0)
0