|
|
@ -358,9 +358,10 @@ class Generator(object): |
|
|
|
human_name = 'EGL {0}'.format(version) |
|
|
|
human_name = 'EGL {0}'.format(version) |
|
|
|
if version > 10: |
|
|
|
if version > 10: |
|
|
|
condition = 'epoxy_conservative_egl_version() >= {0}'.format(version) |
|
|
|
condition = 'epoxy_conservative_egl_version() >= {0}'.format(version) |
|
|
|
loader = 'eglGetProcAddress({0})' |
|
|
|
|
|
|
|
else: |
|
|
|
else: |
|
|
|
condition = 'true' |
|
|
|
condition = 'true' |
|
|
|
|
|
|
|
# All EGL core entrypoints must be dlsym()ed out -- |
|
|
|
|
|
|
|
# eglGetProcAdddress() will return NULL. |
|
|
|
loader = 'epoxy_egl_dlsym({0})' |
|
|
|
loader = 'epoxy_egl_dlsym({0})' |
|
|
|
elif api == 'wgl': |
|
|
|
elif api == 'wgl': |
|
|
|
# There's no reason for us to interpose the |
|
|
|
# There's no reason for us to interpose the |
|
|
|