Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / egl / generate / gen_egl_dispatch.py
index fe901fdd5b6c95f0792d4a944ecc4353c534f1fe..2063e9d09930f3c2e17a1b0aaf59b66d4e3364ef 100644 (file)
@@ -100,6 +100,8 @@ def generateHeader(functions):
 
     #include <EGL/egl.h>
     #include <EGL/eglext.h>
+    #include <EGL/eglmesaext.h>
+    #include <EGL/eglextchromium.h>
     #include "glvnd/libeglabi.h"
 
     """.lstrip("\n"))
@@ -131,6 +133,7 @@ def generateSource(functions):
     text = ""
     text += '#include "egldispatchstubs.h"\n'
     text += '#include "g_egldispatchstubs.h"\n'
+    text += '#include <stddef.h>\n'
     text += "\n"
 
     for (func, eglFunc) in functions: