Prozi / pixi-stats

WebGL stats (a 2024 version of stats.js + gstats) for pixi.js
MIT License
15 stars 3 forks source link

error: [PIXI Hooks] !glTextures || !this.texturehook #4

Open reececomo opened 1 month ago

reececomo commented 1 month ago

Hey 👋 awesome utility

Getting a console error [PIXI Hooks] !glTextures || !this.texturehook (stats-gl.ts#L66)

Not sure if it causes any larger issues - seems to be working OK anyway. Probably caused by a PixiJS version compatibility issue?

Details

Screenshot 2024-05-26 151221

reececomo commented 1 month ago

~Texture count is working, but draw calls (DC) is stuck on zero:~

edit: Fixed DC - I was previously injecting a custom renderer.gl.drawElements to count draws, but removed that as pixi-stats does it instead 🙌

Prozi commented 1 month ago

@reececomo thanks for opening an issue I will check in upcoming weeks WTF XD