From 5cc98d91f49910470f41aca0c9d00c9eed6d8f6e Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Dec 2019 19:21:53 +0800 Subject: [PATCH] log about texture buffer pool format (#5988) --- cocos/core/renderer/core/texture-buffer-pool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/core/renderer/core/texture-buffer-pool.ts b/cocos/core/renderer/core/texture-buffer-pool.ts index 448d7997a3..ba63f8b67a 100644 --- a/cocos/core/renderer/core/texture-buffer-pool.ts +++ b/cocos/core/renderer/core/texture-buffer-pool.ts @@ -152,7 +152,7 @@ export class TextureBufferPool { const texWidth = this._roundUpFn && this._roundUpFn(targetSize, this._formatSize) || Math.max(1024, nearestPOT(targetSize)); const texSize = texWidth * texWidth * this._formatSize; - console.info('TextureBufferPool: Allocate chunk ' + this._chunkCount + ', size: ' + texSize); + console.info('TextureBufferPool: Allocate chunk ' + this._chunkCount + ', size: ' + texSize + ', format: ' + this._format); const texture: GFXTexture = this._device.createTexture({ type: GFXTextureType.TEX2D,