mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Debug logs
This commit is contained in:
parent
4877efbe36
commit
fab1acd022
1 changed files with 4 additions and 0 deletions
|
@ -1242,6 +1242,8 @@ var WebGLPipeline = new Class({
|
|||
*/
|
||||
preBatch: function (gameObject)
|
||||
{
|
||||
this.renderer.log('WebGLPipe.preBatch', (this.currentRenderTarget) ? 'with RT' : 'without RT');
|
||||
|
||||
if (this.currentRenderTarget)
|
||||
{
|
||||
this.currentRenderTarget.bind();
|
||||
|
@ -1271,6 +1273,8 @@ var WebGLPipeline = new Class({
|
|||
*/
|
||||
postBatch: function (gameObject)
|
||||
{
|
||||
this.renderer.log('WebGLPipe.postBatch');
|
||||
|
||||
this.onDraw(this.currentRenderTarget);
|
||||
|
||||
this.onPostBatch(gameObject);
|
||||
|
|
Loading…
Add table
Reference in a new issue