diff options
author | Vinson Lee <[email protected]> | 2010-04-10 21:05:40 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-04-10 21:05:40 -0700 |
commit | 93a6db077906d6896101a8151ca3508afba2da55 (patch) | |
tree | b4d8f094925d900f19e9d6f20683c5422dbb2cc2 /src/mesa | |
parent | 8369f2005bc32221136592c7c9d9f0c93af561e5 (diff) |
st/mesa: Silence uninitialized variable warning.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_draw_feedback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw_feedback.c b/src/mesa/state_tracker/st_draw_feedback.c index b717bd4e3fb..04730464e52 100644 --- a/src/mesa/state_tracker/st_draw_feedback.c +++ b/src/mesa/state_tracker/st_draw_feedback.c @@ -108,7 +108,7 @@ st_feedback_draw_vbo(GLcontext *ctx, struct pipe_vertex_buffer vbuffers[PIPE_MAX_SHADER_INPUTS]; struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS]; struct pipe_transfer *vb_transfer[PIPE_MAX_ATTRIBS]; - struct pipe_transfer *ib_transfer; + struct pipe_transfer *ib_transfer = NULL; struct pipe_transfer *cb_transfer; GLuint attr, i; ubyte *mapped_constants; |