projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8369f20
)
st/mesa: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 11 Apr 2010 04:05:40 +0000
(21:05 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 11 Apr 2010 04:05:40 +0000
(21:05 -0700)
src/mesa/state_tracker/st_draw_feedback.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw_feedback.c
b/src/mesa/state_tracker/st_draw_feedback.c
index b717bd4e3fbf9e956078644317e267bef0b83897..04730464e525b9c92ad99b57d56945e7245dc750 100644
(file)
--- 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;