File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ const _computeDerivedGamepadsData = () => {
453453 }
454454} ;
455455const _tickAnimationFrame = win => {
456- // win.clear();
456+ win . clear ( ) ;
457457 return win . runAsync ( {
458458 method : 'tickAnimationFrame' ,
459459 layered : true ,
Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ class XRScene extends HTMLElement {
9292 }
9393 return win . ctx ;
9494 } ;
95- /* win.clear = () => {
95+ win . clear = ( ) => {
9696 if ( win . ctx ) {
9797 win . ctx . binding = null ;
9898 win . ctx . clearColor ( 0 , 0 , 0 , 1 ) ;
9999 win . ctx . clear ( win . ctx . COLOR_BUFFER_BIT | win . ctx . STENCIL_BUFFER_BIT | win . ctx . DEPTH_BUFFER_BIT ) ;
100100 }
101- }; */
101+ } ;
102102 win . destroy = ( destroy => function ( ) {
103103 if ( win . canvas ) {
104104 this . shadow . removeChild ( win . canvas ) ;
You can’t perform that action at this time.
0 commit comments