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

feat: add clear function #105

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

danjenkins
Copy link
Contributor

@danjenkins danjenkins commented Oct 1, 2024

Add in a clear function.

pygame has its own fill function, but then you have to deal with clearing the buffer anyway.

native hub75 has a clear function so its only the emulated function that isn't necessarily doing it the most performant way but like I say, you have to run clear(), and then update() on native anyway, and in emulated you'd need to clear down the buffer contents anyway.

fixes #96

@andrewjw andrewjw merged commit be4c722 into andrewjw:main Oct 5, 2024
6 checks passed
@andrewjw
Copy link
Owner

andrewjw commented Oct 5, 2024

Thanks Dan!

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 this pull request may close these issues.

Missing a clear function on graphics
2 participants