summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-15 08:43:02 -0600
committerEmil Velikov <[email protected]>2015-10-21 14:23:22 +0100
commit42364b33d16704b909ff8b0ff550638d0184a415 (patch)
tree1df4ed76ff459f7359b984a17c9ad4db3f8d4dab /src/mesa
parent54a30ed94fa74ed6e3a1b6824df882fc38c6a08c (diff)
mesa: fix incorrect opcode in save_BlendFunci()
Fixes assertion failure with new piglit arb_draw_buffers_blend-state_set_get test. Cc: [email protected] Reviewed-by: Jose Fonseca <[email protected]> (cherry picked from commit e24d04e436ed48d4a0aac90590cbaa40da936208)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/dlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 5554738d1a3..73aafa4827f 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1401,7 +1401,7 @@ save_BlendFunci(GLuint buf, GLenum sfactor, GLenum dfactor)
GET_CURRENT_CONTEXT(ctx);
Node *n;
ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
- n = alloc_instruction(ctx, OPCODE_BLEND_FUNC_SEPARATE_I, 3);
+ n = alloc_instruction(ctx, OPCODE_BLEND_FUNC_I, 3);
if (n) {
n[1].ui = buf;
n[2].e = sfactor;