Skip to content

Commit

Permalink
Make eglGetPlatformDisplay an alternate with `eglGetPlatformDisplay…
Browse files Browse the repository at this point in the history
…EXT`
  • Loading branch information
mcfletch committed Dec 29, 2019
1 parent e04bee4 commit 589d3ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions OpenGL/EGL/VERSION/EGL_1_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,13 @@ def glInitEgl15VERSION():


### END AUTOGENERATED SECTION
from ..EXT.platform_base import eglGetPlatformDisplayEXT
from OpenGL.extensions import alternate as _alternate
eglGetPlatformDisplay.extension = None
eglGetPlatformDisplay.force_extension = True

eglGetPlatformDisplay = _alternate(
'eglGetPlatformDisplay',
eglGetPlatformDisplayEXT,
eglGetPlatformDisplay,
)

0 comments on commit 589d3ca

Please sign in to comment.