diff options
author | Brian Paul <brianp@vmware.com> | 2015-10-15 08:43:02 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-10-20 12:52:40 -0600 |
commit | e24d04e436ed48d4a0aac90590cbaa40da936208 (patch) | |
tree | e93181e3465b1d60a926fecf1f27bf81ed82ee82 /src/mesa/main/dlist.c | |
parent | b1f8ef5ae3697b9b73f2ad7d07714f945c5175c3 (diff) | |
download | external_mesa3d-e24d04e436ed48d4a0aac90590cbaa40da936208.zip external_mesa3d-e24d04e436ed48d4a0aac90590cbaa40da936208.tar.gz external_mesa3d-e24d04e436ed48d4a0aac90590cbaa40da936208.tar.bz2 |
mesa: fix incorrect opcode in save_BlendFunci()
Fixes assertion failure with new piglit
arb_draw_buffers_blend-state_set_get test.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index fdb839c..2b65b2e 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1400,7 +1400,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; |