Skip to content

Commit 3caa51a

Browse files
committed
Update GraphicsPipeline.js
1 parent a5ae67e commit 3caa51a

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

src/renderer/webgl/pipelines/GraphicsPipeline.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -237,29 +237,6 @@ var GraphicsPipeline = new Class({
237237
this.set1i('uMainSampler', 0);
238238
},
239239

240-
/**
241-
* Called every time the pipeline is bound by the renderer.
242-
* Sets the shader program, vertex buffer and other resources.
243-
* Should only be called when changing pipeline.
244-
*
245-
* @method Phaser.Renderer.WebGL.Pipelines.GraphicsPipeline#bind
246-
* @since 3.50.0
247-
*
248-
* @param {boolean} [reset=false] - Should the pipeline be fully re-bound after a renderer pipeline clear?
249-
*
250-
* @return {this} This WebGLPipeline instance.
251-
bind: function (reset)
252-
{
253-
if (reset === undefined) { reset = false; }
254-
255-
WebGLPipeline.prototype.bind.call(this, reset);
256-
257-
this.currentShader.set1iv('uMainSampler', this.renderer.textureIndexes);
258-
259-
return this;
260-
},
261-
*/
262-
263240
/**
264241
* Assigns a texture to the current batch. If a different texture is already set it creates a new batch object.
265242
*

0 commit comments

Comments
 (0)