From: Boyan Ding Date: Wed, 25 Nov 2015 05:27:06 +0000 (+0800) Subject: nouveau: Unify the style of function pointer calls in structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=056cfa558c280fe3833756d6a6f265b516da1b7b;p=mesa.git nouveau: Unify the style of function pointer calls in structs Signed-off-by: Boyan Ding --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index cb854b81933..6ddcadce1f0 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -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;