Skip to content
New issue

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

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

Already on GitHub? # to your account

Bitmap modes can corrupt allocators #453

Open
corwinkuiper opened this issue Jul 3, 2023 · 0 comments
Open

Bitmap modes can corrupt allocators #453

corwinkuiper opened this issue Jul 3, 2023 · 0 comments

Comments

@corwinkuiper
Copy link
Member

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 mentioned this issue Oct 8, 2023
1 task
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant