mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
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>
(cherry picked from commit e24d04e436)
This commit is contained in:
parent
54a30ed94f
commit
42364b33d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue