Mesa (master): glX_proto_send.py: Unify the style of function pointer calls in structs

Emil Velikov evelikov at kemper.freedesktop.org
Fri Jan 13 16:58:28 UTC 2017


Module: Mesa
Branch: master
Commit: 0ee4c4a732af29a31ab27c3f847bcf20db6b09c3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ee4c4a732af29a31ab27c3f847bcf20db6b09c3

Author: Boyan Ding <boyan.j.ding at gmail.com>
Date:   Wed Nov 25 13:27:05 2015 +0800

glX_proto_send.py: Unify the style of function pointer calls in structs

Signed-off-by: Boyan Ding <boyan.j.ding at gmail.com>

---

 src/mapi/glapi/gen/glX_proto_send.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py
index 26e7ab6..b534cd4 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 '}'




More information about the mesa-commit mailing list