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

Calling playdate.graphics.pushContext outside of update() causes an error #26

Open
SHiLLySiT opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SHiLLySiT
Copy link
Collaborator

Error: love.event.pump cannot be called while a Canvas is active in love.graphics

Playdate supports calling playdate.graphics.pushContext() outside of update(). Under the hood, we're using Love2d's love.graphics.setCanvas which doesn't seem to like being called before love.run() is executed once?

Might be addressed by #7

@SHiLLySiT SHiLLySiT added the bug Something isn't working label Oct 14, 2024
@SHiLLySiT SHiLLySiT self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant