[Mesa-dev] [PATCH 12/14] mesa: don't flush vertices and don't flag _NEW_COLOR for GL_CLAMP_READ_COLOR
Marek Olšák
maraeo at gmail.com
Mon Apr 15 06:17:37 PDT 2013
There used to be a derived state _ClampReadColor, so setting _NEW_COLOR
made sense. The state is gone now.
---
src/mesa/main/blend.c | 1 -
1 file changed, 1 deletion(-)
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:
--
1.7.10.4
More information about the mesa-dev
mailing list