diff options
author | Chia-I Wu <[email protected]> | 2010-01-16 18:16:11 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2010-01-16 18:18:09 +0100 |
commit | dee52d5bd31c7bd70883fd7fe496445bb49aad1f (patch) | |
tree | 282d850f8e3df30397605ed72902fdfc58266286 /src/gallium/auxiliary/draw | |
parent | 83387cb6c42e283440e0d1e592fbe3c93a6622c7 (diff) |
gallium: Fix uninitialized instance divisor and index.
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c index 279f4eec635..23da556f797 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c @@ -60,7 +60,7 @@ static void fetch_pipeline_prepare( struct draw_pt_middle_end *middle, struct draw_context *draw = fpme->draw; struct draw_vertex_shader *vs = draw->vs.vertex_shader; unsigned i; - boolean instance_id_index = ~0; + unsigned instance_id_index = ~0; /* Add one to num_outputs because the pipeline occasionally tags on * an additional texcoord, eg for AA lines. |