diff options
author | Vinson Lee <[email protected]> | 2015-05-06 12:39:09 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2015-05-06 23:26:21 -0700 |
commit | cf5e015f71496e0626cd5c6262af1c5099391850 (patch) | |
tree | 6f52c35e729e8260b0a6323f9a221fe3d743dad0 /common.py | |
parent | 55b66dc4dee489e43b8e7a170fbc9ddd19a33aac (diff) |
glapi: Add positional argument specifier.
Fix build error introduced with commit 1c5a57a "glapi/es3.1: Add support
for GLES versions > 3.0" with Python < 2.7.
File "src/mapi/glapi/gen/gl_genexec.py", line 230, in <module>
printer.Print(api)
File "src/mapi/glapi/gen/gl_XML.py", line 120, in Print
self.printBody(api)
File "src/mapi/glapi/gen/gl_genexec.py", line 187, in printBody
condition_parts.append('(ctx->API == API_OPENGLES2 && ctx->Version >= {})'.format(int(f.api_map['es2'] * 10)))
ValueError: zero length field name in format
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions