Create a simpler webgl context.
This commit is contained in:
parent
e0878a95c2
commit
07adad2674
|
@ -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 ) { }
|
||||
|
||||
|
|
Loading…
Reference in New Issue