mapi: move genCommon.py to src/mapi/new
[mesa.git] / src / egl / generate / gen_egl_dispatch.py
index d556a7782c9438f416213ca5e99b5f66eda8c2fe..fe901fdd5b6c95f0792d4a944ecc4353c534f1fe 100644 (file)
@@ -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():