User can decide whether auto-set the projection (#3612)
* User can decide whether  auto-set the projection

`bindShader` always  set the projection matrix  automatically . in most case ,  that's OK.

But When I create some new renderer of PIXI ,  sometimes it would make some problems.
e.g.
* shader no projectionMatrix
* shader need use a custom projectionMatrix (not  _activeRenderTarget's)
* shader use a cached array (don't want to call toArray every time)

So I add a new argument to `bindShader` , and the default value is true, so  it would break any current code of PIXI

.

* Update WebGLRenderer.js
1 parent 110a03b commit a80c379c63d94237930715961dff78113737a7d1
@finscn finscn authored on 16 Feb 2017
Matt Karl committed on 16 Feb 2017
Showing 1 changed file
View
src/core/renderers/webgl/WebGLRenderer.js