projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f72e4b3
)
mesa: fix uninitialized var warning
author
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:11:25 +0000
(09:11 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:11:26 +0000
(09:11 -0600)
http://bugs.freedesktop.org/show_bug.cgi?id=31067
src/mesa/main/enable.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/enable.c
b/src/mesa/main/enable.c
index af16c010b949fa2b5f54f3ab34ae258e95de03b2..a038a95c55ac864dd3189d6de660e4f23378152f 100644
(file)
--- a/
src/mesa/main/enable.c
+++ b/
src/mesa/main/enable.c
@@
-130,6
+130,7
@@
client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
goto invalid_enum_error;
}
var = &ctx->Array.PrimitiveRestart;
+ flag = 0;
break;
default: