Mesa (master): mesa: Fix NV_fragment_program' s display list opcode for RequestResident.

Eric Anholt anholt at kemper.freedesktop.org
Mon Oct 15 19:01:15 UTC 2012


Module: Mesa
Branch: master
Commit: 6a20f0e561dae647ebc590bf0cfde3cf66fa6d9d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a20f0e561dae647ebc590bf0cfde3cf66fa6d9d

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Oct  9 16:08:44 2012 -0700

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 <brianp at vmware.com>

---

 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 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) {




More information about the mesa-commit mailing list