Exemple #1
0
 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)
Exemple #2
0
 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)