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

Author: Boyan Ding <boyan.j.d...@gmail.com>
Date:   Wed Nov 25 13:27:06 2015 +0800

nouveau: Unify the style of function pointer calls in structs

Signed-off-by: Boyan Ding <boyan.j.d...@gmail.com>

---

 src/mesa/drivers/dri/nouveau/nouveau_context.c | 6 +++---
 1 file 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 cb854b8..6ddcadc 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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to