File tree Expand file tree Collapse file tree
src/renderer/webgl/batches Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ Phaser.Renderer.WebGL.Batch.Base.prototype = {
8989 start : function ( )
9090 {
9191 this . _i = 0 ;
92- this . dirty = true ;
92+ // this.dirty = true;
9393 this . currentBatchSize = 0 ;
9494
9595 this . init ( ) ;
@@ -102,7 +102,7 @@ Phaser.Renderer.WebGL.Batch.Base.prototype = {
102102 this . flush ( ) ;
103103 }
104104
105- this . dirty = true ;
105+ // this.dirty = true;
106106 } ,
107107
108108 /*
Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ Phaser.Renderer.WebGL.Batch.Image.prototype = {
190190 // Set Shader
191191 gl . useProgram ( program ) ;
192192
193+ gl . bindBuffer ( gl . ARRAY_BUFFER , this . vertexBuffer ) ;
194+ gl . bindBuffer ( gl . ELEMENT_ARRAY_BUFFER , this . indexBuffer ) ;
195+
193196 // Get and store the attributes
194197
195198 // vertex position
You can’t perform that action at this time.
0 commit comments