File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1610,6 +1610,8 @@ var WebGLRenderer = new Class({
16101610 *
16111611 * @method Phaser.Renderer.WebGL.WebGLRenderer#popFramebuffer
16121612 * @since 3.50.0
1613+ *
1614+ * @return {WebGLFramebuffer } The Framebuffer that was set, or `null` if there aren't any more in the stack.
16131615 */
16141616 popFramebuffer : function ( )
16151617 {
@@ -1627,6 +1629,8 @@ var WebGLRenderer = new Class({
16271629 }
16281630
16291631 this . setFramebuffer ( framebuffer , false , true ) ;
1632+
1633+ return framebuffer ;
16301634 } ,
16311635
16321636 /**
@@ -2125,7 +2129,7 @@ var WebGLRenderer = new Class({
21252129
21262130 var color = camera . backgroundColor ;
21272131
2128- this . pipelines . preBatch ( camera ) ;
2132+ this . pipelines . preBatchCamera ( camera ) ;
21292133
21302134 this . pushScissor ( cx , cy , cw , ch ) ;
21312135
@@ -2214,7 +2218,7 @@ var WebGLRenderer = new Class({
22142218 {
22152219 camera . emit ( CameraEvents . POST_RENDER , camera ) ;
22162220
2217- this . pipelines . postBatch ( camera ) ;
2221+ this . pipelines . postBatchCamera ( camera ) ;
22182222
22192223 this . resetTextures ( ) ;
22202224 }
You can’t perform that action at this time.
0 commit comments