summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-09 16:08:44 -0700
committerEric Anholt <[email protected]>2012-10-15 11:53:23 -0700
commit6a20f0e561dae647ebc590bf0cfde3cf66fa6d9d (patch)
tree6070b61a089c40804f981eacffdc4019adcf74f2 /src/mesa/main/dlist.c
parent6ab9c0476992752ff3ac0c80b6952075a4679aeb (diff)
mesa: Fix NV_fragment_program's display list opcode for RequestResident.
While nuking NV_vertex_program, I noticed that one of my opcodes was used in a strange place. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/dlist.c')
-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 ea158e45994..45c123aad26 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -5020,7 +5020,7 @@ save_RequestResidentProgramsNV(GLsizei num, const GLuint * ids)
ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
- n = alloc_instruction(ctx, OPCODE_TRACK_MATRIX_NV, 2);
+ n = alloc_instruction(ctx, OPCODE_REQUEST_RESIDENT_PROGRAMS_NV, 2);
if (n) {
GLuint *idCopy = malloc(num * sizeof(GLuint));
if (!idCopy) {