Mesa (master): mesa: don't flush vertices and don' t flag _NEW_COLOR for GL_CLAMP_READ_COLOR

Marek Olšák mareko at kemper.freedesktop.org
Wed Apr 24 01:31:32 UTC 2013


Module: Mesa
Branch: master
Commit: 9f3985238f0ab3a50e0fa6743dccdf1e88ff49f3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f3985238f0ab3a50e0fa6743dccdf1e88ff49f3

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Apr 15 03:41:43 2013 +0200

mesa: don't flush vertices and don't flag _NEW_COLOR for GL_CLAMP_READ_COLOR

There used to be a derived state _ClampReadColor, so setting _NEW_COLOR
made sense. The state is gone now.

Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/main/blend.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index 09a1c9a..77fdd61 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -783,7 +783,6 @@ _mesa_ClampColor(GLenum target, GLenum clamp)
       _mesa_update_clamp_fragment_color(ctx);
       break;
    case GL_CLAMP_READ_COLOR_ARB:
-      FLUSH_VERTICES(ctx, _NEW_COLOR);
       ctx->Color.ClampReadColor = clamp;
       break;
    default:




More information about the mesa-commit mailing list