Memory: Don't use pool memory to store the entry point name in the intermediate representation.
This might address issue #221, which I couldn't reproduce.
This commit is contained in:
parent
78a6b78810
commit
7e3e486344
4 changed files with 5 additions and 5 deletions
|
|
@ -709,7 +709,7 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
|
|||
currentFunctionType = new TType(EbtVoid);
|
||||
functionReturnsValue = false;
|
||||
|
||||
inEntrypoint = (function.getName() == intermediate.getEntryPoint());
|
||||
inEntrypoint = (function.getName() == intermediate.getEntryPoint().c_str());
|
||||
|
||||
//
|
||||
// New symbol table scope for body of function plus its arguments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue