projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab9c04
)
mesa: Fix NV_fragment_program's display list opcode for RequestResident.
author
Eric Anholt
<eric@anholt.net>
Tue, 9 Oct 2012 23:08:44 +0000
(16:08 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 15 Oct 2012 18:53:23 +0000
(11:53 -0700)
While nuking NV_vertex_program, I noticed that one of my opcodes was used in a
strange place.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index ea158e4599425c0bb532350855ce384fece7f391..45c123aad263e56b354165b8964c3167d79c8278 100644
(file)
--- 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) {