summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-11-20 10:19:16 -0700
committerBrian Paul <brianp@vmware.com>2015-11-20 14:09:15 -0700
commit47fae842d01331af5acc56ff8db37c09ceca791f (patch)
tree02d83a79dc318c3d87eca2661dafbddb83280fad /src/mesa/main/buffers.c
parent1def5ef95863f704ab5d1bd3bef3a31a6e461b60 (diff)
downloadexternal_mesa3d-47fae842d01331af5acc56ff8db37c09ceca791f.zip
external_mesa3d-47fae842d01331af5acc56ff8db37c09ceca791f.tar.gz
external_mesa3d-47fae842d01331af5acc56ff8db37c09ceca791f.tar.bz2
mesa: update some old-style (K&R?) function pointer calls
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r--src/mesa/main/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 93588a2..83e238a 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -731,7 +731,7 @@ _mesa_read_buffer(struct gl_context *ctx, struct gl_framebuffer *fb,
/* Call the device driver function only if fb is the bound read buffer */
if (fb == ctx->ReadBuffer) {
if (ctx->Driver.ReadBuffer)
- (*ctx->Driver.ReadBuffer)(ctx, buffer);
+ ctx->Driver.ReadBuffer(ctx, buffer);
}
}