projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25534f
)
aux/indices: don't use 'prim' value once it is known to be bad
author
Keith Whitwell
<keithw@vmware.com>
Fri, 26 Jun 2009 12:44:20 +0000
(13:44 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 26 Jun 2009 12:44:20 +0000
(13:44 +0100)
Theoretical bugfix only - no known case where this might happen.
src/gallium/auxiliary/indices/u_indices.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/indices/u_indices.c
b/src/gallium/auxiliary/indices/u_indices.c
index 0cf7d88653ca013873b3bfd86789dbe3c0865d01..03d7453f303b19bd8db93dcce5d5d27df2f5f146 100644
(file)
--- a/
src/gallium/auxiliary/indices/u_indices.c
+++ b/
src/gallium/auxiliary/indices/u_indices.c
@@
-244,7
+244,7
@@
int u_index_generator( unsigned hw_mask,
default:
assert(0);
- *out_generate = generate[out_idx][in_pv][out_pv][
prim
];
+ *out_generate = generate[out_idx][in_pv][out_pv][
PIPE_PRIM_POINTS
];
*out_prim = PIPE_PRIM_POINTS;
*out_nr = nr;
return U_TRANSLATE_ERROR;