Create a simpler webgl context.

This commit is contained in:
mrdoob 2022-01-24 19:34:29 +00:00 committed by GitHub
parent e0878a95c2
commit 07adad2674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ void main( void ) {
try {
gl = canvas.getContext( 'webgl', { preserveDrawingBuffer: true } );
gl = canvas.getContext( 'webgl', { antialias: false, depth: false, stencil: false, premultipliedAlpha: false, preserveDrawingBuffer: true } );
} catch( error ) { }