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

app: improve application lifetime handling #10

Open
w23 opened this issue Jan 15, 2019 · 0 comments
Open

app: improve application lifetime handling #10

w23 opened this issue Jan 15, 2019 · 0 comments

Comments

@w23
Copy link
Owner

w23 commented Jan 15, 2019

Currently it's just:

  1. app starts with some gl context
  2. app exits with basically exit()/abort()

Consider something a bit more detailed:

  1. app_init_before_gl() <- have a way to read arguments, do some logic to select gl version, fullscreen mode, preferred desktop, etc etc
  2. app_init_after_gl() <- after window and gl created
  3. app_destroy() <- function to handle app-specific teardown
@w23 w23 changed the title Improve application lifetime handling app: improve application lifetime handling Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant