projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aef54b
)
st/mesa: Silence uninitialized variables warnings in st_draw.c.
author
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 06:17:16 +0000
(22:17 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 06:17:16 +0000
(22:17 -0800)
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index c76bff91819d7da2a978042ced88f04c3fdd4457..6f5248cbe579f2dca10fbb0abfe2adb07096d04c 100644
(file)
--- a/
src/mesa/state_tracker/st_draw.c
+++ b/
src/mesa/state_tracker/st_draw.c
@@
-371,7
+371,7
@@
setup_interleaved_attribs(GLcontext *ctx,
{
struct pipe_context *pipe = ctx->st->pipe;
GLuint attr;
- const GLubyte *offset0;
+ const GLubyte *offset0
= NULL
;
for (attr = 0; attr < vp->num_inputs; attr++) {
const GLuint mesaAttr = vp->index_to_input[attr];
@@
-550,7
+550,7
@@
st_draw_vbo(GLcontext *ctx,
GLuint attr;
struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS];
unsigned num_vbuffers, num_velements;
- GLboolean userSpace;
+ GLboolean userSpace
= GL_FALSE
;
/* Gallium probably doesn't want this in some cases. */
if (!index_bounds_valid)