Skip to content

Commit

Permalink
Merge pull request #212 from amdrexu/bugfix
Browse files Browse the repository at this point in the history
VS2012: Fix a build issue in parser.
  • Loading branch information
johnkslang committed Mar 22, 2016
2 parents 5ace09a + 4e8bf59 commit 28001b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions glslang/Public/ShaderLang.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,9 @@ class TShader {
{
static const char unexpected_include[] =
"unexpected include directive";
return new IncludeResult(
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr});
static const IncludeResult unexpectedIncludeResult =
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr};
return new IncludeResult(unexpectedIncludeResult);
}
virtual void releaseInclude(IncludeResult* result) override
{
Expand Down

0 comments on commit 28001b1

Please sign in to comment.