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/state_trackers/vega/polygon.c | |
parent | 83387cb6c42e283440e0d1e592fbe3c93a6622c7 (diff) |
gallium: Fix uninitialized instance divisor and index.
Diffstat (limited to 'src/gallium/state_trackers/vega/polygon.c')
-rw-r--r-- | src/gallium/state_trackers/vega/polygon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/polygon.c b/src/gallium/state_trackers/vega/polygon.c index b6d282d803b..d385ee567fa 100644 --- a/src/gallium/state_trackers/vega/polygon.c +++ b/src/gallium/state_trackers/vega/polygon.c @@ -293,6 +293,7 @@ static void draw_polygon(struct vg_context *ctx, /* tell pipe about the vertex attributes */ velement.src_offset = 0; + velement.instance_divisor = 0; velement.vertex_buffer_index = 0; velement.src_format = PIPE_FORMAT_R32G32_FLOAT; velement.nr_components = COMPONENTS; |