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;
 
-- 
2.6.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to