[Mesa-dev] [PATCH 09/19] mesa: Fix NV_fragment_program's display list opcode for RequestResident.

Eric Anholt eric at anholt.net
Tue Oct 9 18:06:41 PDT 2012


While nuking NV_vertex_program, I noticed that one of my opcodes was used in a
strange place.
---
 src/mesa/main/dlist.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index ea158e4..45c123a 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) {
-- 
1.7.10.4



More information about the mesa-dev mailing list