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

backend: PollEvents and WaitForEvents #195

Closed
2 tasks
gucio321 opened this issue Aug 31, 2023 · 1 comment
Closed
2 tasks

backend: PollEvents and WaitForEvents #195

gucio321 opened this issue Aug 31, 2023 · 1 comment

Comments

@gucio321
Copy link
Collaborator

expose the following GLFW methods:

  • PollEvents
  • WaitForEvents

Tip/tought: in imgui-go it was in one method ProcessEvents. Maybe we should do the same here (in view of future backends not only glfw)

// ProcessEvents handles all pending window events.
func (platform *GLFW) ProcessEvents() {
        platform.WaitForEvent()
        glfw.PollEvents()
}
@gucio321
Copy link
Collaborator Author

not needed

@gucio321 gucio321 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
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

1 participant