Skip to content

Commit f50560e

Browse files
committed
The WebGLRenderer.getMaxTextures method has been removed. This is no longer needed as you can use the WebGLRenderer.maxTextures property instead.
1 parent 98e8517 commit f50560e

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2770,19 +2770,6 @@ var WebGLRenderer = new Class({
27702770
return this;
27712771
},
27722772

2773-
/**
2774-
* Returns the maximum number of texture units that can be used in a fragment shader.
2775-
*
2776-
* @method Phaser.Renderer.WebGL.WebGLRenderer#getMaxTextures
2777-
* @since 3.8.0
2778-
*
2779-
* @return {integer} The maximum number of textures WebGL supports.
2780-
*/
2781-
getMaxTextures: function ()
2782-
{
2783-
return this.config.maxTextures;
2784-
},
2785-
27862773
/**
27872774
* Returns the largest texture size (either width or height) that can be created.
27882775
* Note that VRAM may not allow a texture of any given size, it just expresses

0 commit comments

Comments
 (0)