X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Fglsize.py;h=0eb92557fc17831e25fd92048661bf245df50803;hb=833d14af1eac50cb11ee98c4d7e7636d7f5c0f39;hp=e9ac7a4c927e6070f7d65cff52e8a5673317482c;hpb=dacd8dd5910b1e32e4a8c378fe9ac01b2bce695b;p=apitrace diff --git a/helpers/glsize.py b/helpers/glsize.py index e9ac7a4..0eb9255 100755 --- a/helpers/glsize.py +++ b/helpers/glsize.py @@ -150,7 +150,7 @@ class glx_enum_function: print ' default:' print ' assert(0);' - print ' return 0;' + print ' return 1;' print ' }' @@ -244,7 +244,7 @@ class PrintGlxSizeStubs_c(gl_XML.gl_print_base): def printBody(self, api): enum_sigs = {} - for func in api.functionIterateGlx(): + for func in api.functionIterateByOffset(): ef = glx_enum_function( func.name, api.enums_by_name ) if len(ef.enums) == 0: continue