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

Multiple mouse events are being handler per frame #3

Open
jccit opened this issue Apr 25, 2021 · 0 comments
Open

Multiple mouse events are being handler per frame #3

jccit opened this issue Apr 25, 2021 · 0 comments
Labels
bug Something isn't working module: core

Comments

@jccit
Copy link
Owner

jccit commented Apr 25, 2021

It looks like we're receiving an SDL mouse move event for every pixel the mouse travels. We're then triggering the mouse move event in the engine for each of these SDL events.

This may cause performance issues since we're handling more events that we need to. It would be better if we could bundle these events together somehow

@jccit jccit added bug Something isn't working module: core labels Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module: core
Projects
None yet
Development

No branches or pull requests

1 participant