From 0ee4c4a732af29a31ab27c3f847bcf20db6b09c3 Mon Sep 17 00:00:00 2001 From: Boyan Ding Date: Wed, 25 Nov 2015 13:27:05 +0800 Subject: glX_proto_send.py: Unify the style of function pointer calls in structs Signed-off-by: Boyan Ding --- src/mapi/glapi/gen/glX_proto_send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapi') 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 '}' -- cgit v1.2.3