+ 2
Why we use poll event function?
What is poll event function and why we use it in game loop/main loop in SFML?
2 Answers
+ 2
Because the events get queued up internally and by calling pollEvent you'll get the top event of the queue
https://www.sfml-dev.org/tutorials/2.5/window-events.php
0
So we don't want to use this while we have only one event?đ€
Can we see the events that lined in the queues? đ