Protect the initial state of `this._activeRenderTarget` in _indexContext (#3443)
* Update WebGLRenderer.js

```
    this._activeRenderTarget = null;
    this._activeTextureLocation = 999;
    this._activeTexture = null;
````
must before `this._indexContext()` , otherwise  the _activeRenderTarget & _activeTexture init in  _indexContext will back to `null`.

* Add a blank line for cosmetic.
1 parent c101938 commit ee4b665ffbb22db4fe24d916df9cdd9a4f157247
@finscn finscn authored on 23 Dec 2016
Matt Karl committed on 23 Dec 2016
Showing 1 changed file
View
src/core/renderers/webgl/WebGLRenderer.js