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

Bitmap modes can corrupt allocators #453

Open
corwinkuiper opened this issue Jul 3, 2023 · 0 comments · May be fixed by #496
Open

Bitmap modes can corrupt allocators #453

corwinkuiper opened this issue Jul 3, 2023 · 0 comments · May be fixed by #496

Comments

@corwinkuiper
Copy link
Collaborator

Bitmap modes give access to vram, where allocators store state. This is bad.

Also, I don't think objects can be used in bitmap modes, and besides they share vram so allocation gets clobbered.

The fix:

  • Initialise allocators on acquiring the resource.
  • Objects and backgrounds come together, I think.

The current difficulty:

  • I've used sprite allocation without resource acquisition a lot. Can be fixed but will make things more awkward.
@corwinkuiper corwinkuiper linked a pull request Oct 8, 2023 that will close this issue
1 task
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

Successfully merging a pull request may close this issue.

1 participant