def getDisplay(self): """Retrieve the currently-bound, or the default, display""" from OpenGL.EGL import ( eglGetCurrentDisplay, eglGetDisplay, EGL_DEFAULT_DISPLAY, ) return eglGetCurrentDisplay() or eglGetDisplay(EGL_DEFAULT_DISPLAY)
def getDisplay( self ): """Retrieve the currently-bound, or the default, display""" from OpenGL.EGL import ( eglGetCurrentDisplay, eglGetDisplay, EGL_DEFAULT_DISPLAY, ) return eglGetCurrentDisplay() or eglGetDisplay(EGL_DEFAULT_DISPLAY)