mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
log about texture buffer pool format (#5988)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user