projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43dac27
)
mesa: don't flush vertices and don't flag _NEW_COLOR for GL_CLAMP_READ_COLOR
author
Marek Olšák
<maraeo@gmail.com>
Mon, 15 Apr 2013 01:41:43 +0000
(
03:41
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 24 Apr 2013 01:23:24 +0000
(
03:23
+0200)
There used to be a derived state _ClampReadColor, so setting _NEW_COLOR
made sense. The state is gone now.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/blend.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/blend.c
b/src/mesa/main/blend.c
index 09a1c9ae84cc72b65cb910c0b43468f323c72829..77fdd61448699d3477150e2516de5a610e936620 100644
(file)
--- 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: