summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-02-03 11:42:17 -0800
committerFredrik Höglund <fredrik@kde.org>2015-05-14 15:48:14 +0200
commitc1fe8d841c4746a6371dde569c6c88c6c2bad4e6 (patch)
treef5f5ecc6274deb932dceee3390951b31b6038bb8 /src/mesa/main/framebuffer.c
parent9036a6c0aa0637a1cd756836006dc8565b15a478 (diff)
downloadexternal_mesa3d-c1fe8d841c4746a6371dde569c6c88c6c2bad4e6.zip
external_mesa3d-c1fe8d841c4746a6371dde569c6c88c6c2bad4e6.tar.gz
external_mesa3d-c1fe8d841c4746a6371dde569c6c88c6c2bad4e6.tar.bz2
main: Refactor _mesa_[update|get]_clamp_vertex_color.
Reviewed-by: Fredrik Höglund <fredrik@kde.org> Signed-off-by: Fredrik Höglund <fredrik@kde.org>
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 74e5739..36a9539 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);
}