diff options
Diffstat (limited to 'src/mapi/new/gen_gldispatch_mapi.py')
-rwxr-xr-x | src/mapi/new/gen_gldispatch_mapi.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mapi/new/gen_gldispatch_mapi.py b/src/mapi/new/gen_gldispatch_mapi.py index 959d8798f5c..e9dc6d401e3 100755 --- a/src/mapi/new/gen_gldispatch_mapi.py +++ b/src/mapi/new/gen_gldispatch_mapi.py @@ -63,11 +63,13 @@ typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLe """.lstrip("\n")) print(generate_defines(functions)) - print(generate_table(functions, allFunctions)) - print(generate_noop_array(functions)) - print(generate_public_stubs(functions)) + if target == "gldispatch": + print(generate_table(functions, allFunctions)) + print(generate_noop_array(functions)) + print(generate_public_stubs(functions)) print(generate_public_entries(functions)) - print(generate_public_entries_table(functions)) + if target == "gldispatch": + print(generate_public_entries_table(functions)) print(generate_undef_public_entries()) print(generate_stub_asm_gcc(functions)) |