Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
reececomo opened this issue May 26, 2024 · 2 comments
Open

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

reececomo opened this issue May 26, 2024 · 2 comments

Comments

@reececomo
Copy link

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

  • pixi-stats version: 1.3.6
  • PixiJS version: 7.2.4

Screenshot 2024-05-26 151221

@reececomo
Copy link
Author

reececomo commented May 26, 2024

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
Copy link
Owner

Prozi commented May 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants