summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-02-03 11:42:17 -0800
committerFredrik Höglund <[email protected]>2015-05-14 15:48:14 +0200
commitc1fe8d841c4746a6371dde569c6c88c6c2bad4e6 (patch)
treef5f5ecc6274deb932dceee3390951b31b6038bb8 /src/mesa/main/framebuffer.c
parent9036a6c0aa0637a1cd756836006dc8565b15a478 (diff)
main: Refactor _mesa_[update|get]_clamp_vertex_color.
Reviewed-by: Fredrik Höglund <[email protected]> Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 74e5739e6fd..36a953988eb 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -691,7 +691,7 @@ _mesa_update_framebuffer(struct gl_context *ctx,
if (readFb != drawFb)
update_framebuffer(ctx, readFb);
- _mesa_update_clamp_vertex_color(ctx);
+ _mesa_update_clamp_vertex_color(ctx, drawFb);
_mesa_update_clamp_fragment_color(ctx);
}