We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2513b commit a26e5e2Copy full SHA for a26e5e2
src/plots/gl3d/scene.js
@@ -151,6 +151,13 @@ proto.tryCreatePlot = function() {
151
} else { // try second time
152
try {
153
// invert preserveDrawingBuffer setup which could be resulted from is-mobile not detecting the right device
154
+ Lib.warn([
155
+ 'webgl setup failed possibly due to',
156
+ isMobile ? 'disabling' : 'enabling',
157
+ 'preserveDrawingBuffer config.',
158
+ 'The device may not be supported by isMobile module!',
159
+ 'Inverting preserveDrawingBuffer option in second attempt to create webgl scene.'
160
+ ].join(' '));
161
isMobile = opts.glOptions.preserveDrawingBuffer = !opts.glOptions.preserveDrawingBuffer;
162
163
scene.glplot = createPlot(opts);
0 commit comments