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).
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 usingegl.eglGetDisplay(egl.EGL_DEFAULT_DISPLAY)
. This fix seems to work only with PyOpenGL ver 3.1.5 (not the conda version).