diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-06-26 13:44:20 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-06-26 13:44:20 +0100 |
commit | c9f8c400ab23ce86448d6b3f8e292e5d5a170a67 (patch) | |
tree | af52f6f40f272d4cc851c057924cd50d1e59d605 /src | |
parent | c25534f30d326c15dff845775d9bd55ba6064049 (diff) |
aux/indices: don't use 'prim' value once it is known to be bad
Theoretical bugfix only - no known case where this might happen.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/indices/u_indices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/indices/u_indices.c b/src/gallium/auxiliary/indices/u_indices.c index 0cf7d88653..03d7453f30 100644 --- 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; |