Skip to content

Commit

Permalink
Updated builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 11, 2020
1 parent e6b297c commit 64d4fb4
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 399 deletions.
4 changes: 2 additions & 2 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -24360,11 +24360,11 @@
_canvas.addEventListener( 'webglcontextlost', onContextLost, false );
_canvas.addEventListener( 'webglcontextrestored', onContextRestore, false );

_gl = _context || _canvas.getContext( 'webgl', contextAttributes ) || _canvas.getContext( 'experimental-webgl', contextAttributes );
_gl = _context || _canvas.getContext( 'webgl2', contextAttributes ) || _canvas.getContext( 'webgl', contextAttributes ) || _canvas.getContext( 'experimental-webgl', contextAttributes );

if ( _gl === null ) {

if ( _canvas.getContext( 'webgl' ) !== null ) {
if ( _canvas.getContext( 'webgl2' ) || _canvas.getContext( 'webgl' ) || _canvas.getContext( 'experimental-webgl' ) ) {

throw new Error( 'Error creating WebGL context with your selected attributes.' );

Expand Down
Loading

0 comments on commit 64d4fb4

Please sign in to comment.