summaryrefslogtreecommitdiffstats
path: root/src/egl/generate/gen_egl_dispatch.py
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-12-09 19:51:15 +0000
committerEmil Velikov <[email protected]>2019-01-24 18:13:25 +0000
commitcd0f11bac55b14728cf70e39cd269a70aeb2b5d4 (patch)
treede576991eaac33b7fa1e2ce3640a35ac547b820a /src/egl/generate/gen_egl_dispatch.py
parenta08a793180716770e8a4509447b8621cc57304bc (diff)
mapi: move genCommon.py to src/mapi/new
The helper will also be used by the new Khronos gl.xml aware generator. v2: Move existing one, instead of duplicating it. v3: Correct genCommon.py references in meson [Erik] v4: Drop the file from the EGL EXTRA_DIST [Erik] Suggested-by: Kyle Brenneman <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/generate/gen_egl_dispatch.py')
-rw-r--r--src/egl/generate/gen_egl_dispatch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/generate/gen_egl_dispatch.py b/src/egl/generate/gen_egl_dispatch.py
index d556a7782c9..fe901fdd5b6 100644
--- a/src/egl/generate/gen_egl_dispatch.py
+++ b/src/egl/generate/gen_egl_dispatch.py
@@ -38,6 +38,9 @@ import eglFunctionList
import sys
import textwrap
+import os
+NEWAPI = os.path.join(os.path.dirname(__file__), "..", "..", "mapi", "new")
+sys.path.insert(0, NEWAPI)
import genCommon
def main():