summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoyan Ding <boyan.j.ding@gmail.com>2015-11-25 13:27:05 +0800
committerEmil Velikov <emil.l.velikov@gmail.com>2017-01-13 16:24:32 +0000
commit0ee4c4a732af29a31ab27c3f847bcf20db6b09c3 (patch)
tree7d82951cf2bbb7d1d254661af08cdc2d63dd2d45
parent1411fbd50dbd654755dd53cd087b86fffbd2c9ed (diff)
glX_proto_send.py: Unify the style of function pointer calls in structs
Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
-rw-r--r--src/mapi/glapi/gen/glX_proto_send.py2
1 files changed, 1 insertions, 1 deletions
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 '}'