projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c7f3a
)
glsl: Fix uninitialized member in ir_hierarchical_vistor constructor.
author
Vinson Lee
<vlee@vmware.com>
Wed, 18 Aug 2010 23:10:15 +0000
(16:10 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 18 Aug 2010 23:10:15 +0000
(16:10 -0700)
Class member base_ir was not initialized by the default constructor.
src/glsl/ir_hierarchical_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_hierarchical_visitor.cpp
b/src/glsl/ir_hierarchical_visitor.cpp
index d475df62fce3dddaf35bd8d2809fae5b558a602b..809b08ee62ce1a673bb4dc78b237e7b97137d8f9 100644
(file)
--- a/
src/glsl/ir_hierarchical_visitor.cpp
+++ b/
src/glsl/ir_hierarchical_visitor.cpp
@@
-26,6
+26,7
@@
ir_hierarchical_visitor::ir_hierarchical_visitor()
{
+ this->base_ir = NULL;
this->callback = NULL;
this->data = NULL;
}