Skip to content

Commit

Permalink
Nonfunctional: fix a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkslang committed Sep 18, 2014
1 parent cf74ae1 commit 55901ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OGLCompilersDLL/InitializeDll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ bool InitProcess()
}

if (! InitializePoolIndex()) {
assert(0 && "InitProcess(): Failed to initalize global pool");
assert(0 && "InitProcess(): Failed to initialize global pool");

glslang::ReleaseGlobalLock();
return false;
Expand Down
4 changes: 2 additions & 2 deletions glslang/MachineIndependent/ParseHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4020,7 +4020,7 @@ TVariable* TParseContext::declareNonArray(TSourceLoc loc, TString& identifier, T
// Handle all types of initializers from the grammar.
//
// Returning 0 just means there is no code to execute to handle the
// initializer, which will, for example, be the case for constant initalizers.
// initializer, which will, for example, be the case for constant initializers.
//
TIntermNode* TParseContext::executeInitializer(TSourceLoc loc, TString& identifier,
TIntermTyped* initializer, TVariable* variable)
Expand Down Expand Up @@ -4104,7 +4104,7 @@ TIntermNode* TParseContext::executeInitializer(TSourceLoc loc, TString& identifi
}

//
// Reprocess any initalizer-list { ... } parts of the initializer.
// Reprocess any initializer-list { ... } parts of the initializer.
// Need to heirarchically assign correct types and implicit
// conversions. Will do this mimicking the same process used for
// creating a constructor-style initializer, ensuring we get the
Expand Down
2 changes: 1 addition & 1 deletion glslang/MachineIndependent/linkValidate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit)
}

//
// Merge the function bodies and global-level initalizers from unitGlobals into globals.
// Merge the function bodies and global-level initializers from unitGlobals into globals.
// Will error check duplication of function bodies for the same signature.
//
void TIntermediate::mergeBodies(TInfoSink& infoSink, TIntermSequence& globals, const TIntermSequence& unitGlobals)
Expand Down

0 comments on commit 55901ef

Please sign in to comment.