TRAC #12015
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@183 736b8ea6-26fd-11df-bfd4-992fa37f6226
This commit is contained in:
daniel@transgaming.com 2010-04-22 16:27:35 +00:00
Родитель 1b3a8155c2
Коммит d2cf25db0b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1082,7 +1082,7 @@ bool OutputHLSL::visitAggregate(Visit visit, TIntermAggregate *node)
{ {
if (!variable->getAsSymbolNode() || variable->getAsSymbolNode()->getSymbol() != "") // Variable declaration if (!variable->getAsSymbolNode() || variable->getAsSymbolNode()->getSymbol() != "") // Variable declaration
{ {
if (variable->getQualifier() == EvqGlobal) if (!mInsideFunction)
{ {
out << "static "; out << "static ";
} }