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

texture binding #194

Open
2 tasks
adam-ce opened this issue Mar 6, 2025 · 0 comments
Open
2 tasks

texture binding #194

adam-ce opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels

Comments

@adam-ce
Copy link
Member

adam-ce commented Mar 6, 2025

it seems i misunderstood textures a bit. we need to bind before upload. otherwise the target will switch. i guess it's similar with texture properties. they likely attach to the texture unit and not the texture. i think we should protect against that.

  • better understand the state machine
  • implement a protection, e.g.: texture unit in constructor + static active texture unit. if the active unit is not same as own unit, activate first.
@adam-ce adam-ce added the small label Mar 6, 2025
@adam-ce adam-ce self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant