chore: 移除渲染系统调试日志

This commit is contained in:
yhh
2025-11-23 22:26:46 +08:00
parent a61baa83a7
commit 95fbcca66f
2 changed files with 0 additions and 11 deletions

View File

@@ -70,7 +70,6 @@ export class EngineBridge implements IEngineBridge {
private lastFrameTime = 0;
private frameCount = 0;
private fpsAccumulator = 0;
private debugLogged = false;
/**
* Create a new engine bridge.
@@ -238,13 +237,6 @@ export class EngineBridge implements IEngineBridge {
this.colorBuffer[i] = sprite.color;
}
// Debug: log texture IDs only once when we have 2+ sprites (for multi-texture test)
if (!this.debugLogged && count >= 2) {
const textureIds = Array.from(this.textureIdBuffer.subarray(0, count));
console.log(`TS submitSprites: ${count} sprites, textureIds: [${textureIds.join(', ')}]`);
this.debugLogged = true;
}
// Submit to engine (single WASM call) | 提交到引擎单次WASM调用
this.getEngine().submitSpriteBatch(
this.transformBuffer.subarray(0, count * 7),