From: Boyan Ding Date: Wed, 25 Nov 2015 05:27:05 +0000 (+0800) Subject: glX_proto_send.py: Unify the style of function pointer calls in structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ee4c4a732af29a31ab27c3f847bcf20db6b09c3;p=mesa.git glX_proto_send.py: Unify the style of function pointer calls in structs Signed-off-by: Boyan Ding --- diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index 26e7ab6674e..b534cd4e5c3 100644 --- a/src/mapi/glapi/gen/glX_proto_send.py +++ b/src/mapi/glapi/gen/glX_proto_send.py @@ -573,7 +573,7 @@ generic_%u_byte( GLint rop, const void * ptr ) condition = 'compsize > 0' print 'if (%s) {' % (condition) - print ' (*gc->fillImage)(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr) + print ' gc->fillImage(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr) print '} else {' print ' (void) memcpy( %s, default_pixel_store_%uD, default_pixel_store_%uD_size );' % (pixHeaderPtr, dim, dim) print '}'