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

Modified code to loop through devices to check if context can be created #50

Merged
merged 1 commit into from
Sep 12, 2020

Conversation

RohanChacko
Copy link
Contributor

@RohanChacko RohanChacko commented Jul 15, 2020

Submitting a PR to create an EGL display by iterating through possible devices and using the first one where the EGL context can be created. Previous code errors out with EGL_BAD_ACCESS if initialized display using egl.eglGetDisplay(egl.EGL_DEFAULT_DISPLAY). This fix seems to work only with PyOpenGL ver 3.1.5 (not the conda version).

@shunsukesaito shunsukesaito merged commit 9753311 into shunsukesaito:master Sep 12, 2020
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