nouveau: Unify the style of function pointer calls in structs
authorBoyan Ding <boyan.j.ding@gmail.com>
Wed, 25 Nov 2015 05:27:06 +0000 (13:27 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Jan 2017 16:24:32 +0000 (16:24 +0000)
Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
src/mesa/drivers/dri/nouveau/nouveau_context.c

index cb854b81933d9f2912085e298d30d32728827348..6ddcadce1f0d9c59f763581b221e4d414e948a07 100644 (file)
@@ -259,9 +259,9 @@ nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw)
        else if (fb->Visual.haveStencilBuffer)
                attachments[i++] = __DRI_BUFFER_STENCIL;
 
-       buffers = (*screen->dri2.loader->getBuffers)(draw, &draw->w, &draw->h,
-                                                    attachments, i, &count,
-                                                    draw->loaderPrivate);
+       buffers = screen->dri2.loader->getBuffers(draw, &draw->w, &draw->h,
+                                                 attachments, i, &count,
+                                                 draw->loaderPrivate);
        if (buffers == NULL)
                return;