log about texture buffer pool format (#5988)

This commit is contained in:
Yun Hsiao Wu
2019-12-27 19:21:53 +08:00
committed by pandamicro
parent f2f8da8cbb
commit 5cc98d91f4
@@ -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,