File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -2600,9 +2600,6 @@ cc.game = /** @lends cc.game# */{
2600
2600
cc . shaderCache . _init ( ) ;
2601
2601
cc . _drawingUtil = new cc . DrawingPrimitiveWebGL ( this . _renderContext ) ;
2602
2602
cc . textureCache . _initializingRenderer ( ) ;
2603
- // cc.glExt = {};
2604
- // cc.glExt.instanced_arrays = gl.getExtension("ANGLE_instanced_arrays");
2605
- // cc.glExt.element_uint = gl.getExtension("OES_element_index_uint");
2606
2603
} else {
2607
2604
cc . renderer = cc . rendererCanvas ;
2608
2605
this . _renderContext = cc . _renderContext = new cc . CanvasContextWrapper ( localCanvas . getContext ( "2d" ) ) ;
Original file line number Diff line number Diff line change 216
216
// by default use "Self Render".
217
217
// if the sprite is added to a batchnode, then it will automatically switch to "batchnode Render"
218
218
this . setBatchNode ( this . _batchNode ) ;
219
- renderCmd . _bufferDirty = true ;
220
- renderCmd . _buffer . setDirty ( ) ;
221
219
this . dispatchEvent ( "load" ) ;
222
220
} ;
223
221
You can’t perform that action at this time.
0 commit comments