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

Improper drawing in shapes_top_down_lights example #14

Closed
stefandd opened this issue Jan 27, 2023 · 2 comments
Closed

Improper drawing in shapes_top_down_lights example #14

stefandd opened this issue Jan 27, 2023 · 2 comments

Comments

@stefandd
Copy link

Currently, the example only renders when the variable lights_dirty is true. However, this makes the example hang since keyboard and mouse functionality are frame-based and refreshed only when a drawing is performed. You'd need to have at least some R.begin_drawing .. R.end_drawing in every loop cycle..

@sol-vin
Copy link
Owner

sol-vin commented Jan 27, 2023

Hey, thanks so much. I honestly didn't know what was wrong with this one and totally forgot about it. Fixed with latest commit.

@sol-vin sol-vin closed this as completed Jan 27, 2023
@stefandd
Copy link
Author

Great. It is fixed now -- thanks for your work!

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

No branches or pull requests

2 participants