diff options
author | Brian Paul <[email protected]> | 2015-11-20 10:19:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-11-20 14:09:15 -0700 |
commit | 47fae842d01331af5acc56ff8db37c09ceca791f (patch) | |
tree | 02d83a79dc318c3d87eca2661dafbddb83280fad /src/mesa/main/blend.c | |
parent | 1def5ef95863f704ab5d1bd3bef3a31a6e461b60 (diff) |
mesa: update some old-style (K&R?) function pointer calls
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r-- | src/mesa/main/blend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index f07552b4778..2ae22e9e691 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -404,7 +404,7 @@ _mesa_BlendEquation( GLenum mode ) ctx->Color._BlendEquationPerBuffer = GL_FALSE; if (ctx->Driver.BlendEquationSeparate) - (*ctx->Driver.BlendEquationSeparate)( ctx, mode, mode ); + ctx->Driver.BlendEquationSeparate(ctx, mode, mode); } @@ -582,7 +582,7 @@ _mesa_BlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) ctx->Color.BlendColor[3] = CLAMP(tmp[3], 0.0F, 1.0F); if (ctx->Driver.BlendColor) - (*ctx->Driver.BlendColor)(ctx, ctx->Color.BlendColor); + ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor); } |