summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-01-18 16:25:24 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-01-31 12:59:46 +0000
commitaab6092f65cd94da4ed1bcfcc97320a825cd8386 (patch)
tree9202ff20db0b6b0e836e507b6c8b9ca7128c1f87 /src
parentde84448e3a1c07c0b6f749bc59b03c52f99571d7 (diff)
downloadlibepoxy-aab6092f65cd94da4ed1bcfcc97320a825cd8386.tar.gz
gen_dispatch: Ignore 'glsc2' API
The new GL registry XML contains the 'glsc2' identifier for the OpenGL SC 2.0 API. We can safely ignore it, since we don't really know what to do with it, at the moment.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gen_dispatch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py
index 71c3bc1..013a4bd 100755
--- a/src/gen_dispatch.py
+++ b/src/gen_dispatch.py
@@ -375,6 +375,8 @@ class Generator(object):
human_name = 'WGL {0}'.format(version)
condition = 'true'
loader = 'epoxy_gl_dlsym({0})'
+ elif api == 'glsc2':
+ continue
else:
sys.exit('unknown API: "{0}"'.format(api))