summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorBoyan Ding <[email protected]>2015-11-25 13:27:06 +0800
committerEmil Velikov <[email protected]>2017-01-13 16:24:32 +0000
commit056cfa558c280fe3833756d6a6f265b516da1b7b (patch)
tree97012ef85d5ed42869456ee756830e5e2cdee1ad /src/mesa/drivers/dri
parent0ee4c4a732af29a31ab27c3f847bcf20db6b09c3 (diff)
nouveau: Unify the style of function pointer calls in structs
Signed-off-by: Boyan Ding <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.c6
1 files changed, 3 insertions, 3 deletions
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;