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

Force glut to be down before doing glutInit #12

Merged
merged 1 commit into from
Mar 17, 2016

Conversation

JimmyDaSilva
Copy link
Contributor

However Glut cannot be initialized more than once, it's sometimes difficult to keep track of whether glut is already running or not.
Easiest method is to kill glut everytime you want to initialize it.

Problem discussed here #11 and there wg-perception/linemod#20

@vrabaud
Copy link
Member

vrabaud commented Mar 17, 2016

just curious, I guess there is slowdown in doing so ?

vrabaud added a commit that referenced this pull request Mar 17, 2016
Force glut to be down before doing glutInit
@vrabaud vrabaud merged commit 3af6195 into wg-perception:master Mar 17, 2016
@JimmyDaSilva
Copy link
Contributor Author

No it's almost instantaneous and impacts only the loading of the objects on start

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

Successfully merging this pull request may close these issues.

2 participants