projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f13135
)
r300: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 08:56:57 +0000
(
00:56
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 08:56:57 +0000
(
00:56
-0800)
src/mesa/drivers/dri/r300/r300_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_draw.c
b/src/mesa/drivers/dri/r300/r300_draw.c
index 4ae0d6fe48f38f030fd43e354b07575fca18654a..3efa0e3a1635f41f08f9c70b65f04213073254c3 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_draw.c
+++ b/
src/mesa/drivers/dri/r300/r300_draw.c
@@
-332,7
+332,7
@@
static void r300TranslateAttrib(GLcontext *ctx, GLuint attr, int count, const st
{
r300ContextPtr r300 = R300_CONTEXT(ctx);
struct r300_vertex_buffer *vbuf = &r300->vbuf;
- struct vertex_attribute r300_attr;
+ struct vertex_attribute r300_attr
= { 0 }
;
GLenum type;
GLuint stride;