glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31218 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
b06127c513
commit
ca3457f1a7
11 changed files with 87 additions and 81 deletions
|
|
@ -481,8 +481,8 @@ void TParseContext::updateExtensionBehavior(const char* extension, const char* b
|
|||
//
|
||||
void TParseContext::fullIntegerCheck(TSourceLoc loc, const char* op)
|
||||
{
|
||||
profileRequires(loc, ENoProfile, 130, 0, op);
|
||||
profileRequires(loc, EEsProfile, 300, 0, op);
|
||||
profileRequires(loc, ENoProfile, 130, nullptr, op);
|
||||
profileRequires(loc, EEsProfile, 300, nullptr, op);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
@ -491,8 +491,8 @@ void TParseContext::fullIntegerCheck(TSourceLoc loc, const char* op)
|
|||
void TParseContext::doubleCheck(TSourceLoc loc, const char* op)
|
||||
{
|
||||
requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
|
||||
profileRequires(loc, ECoreProfile, 400, 0, op);
|
||||
profileRequires(loc, ECompatibilityProfile, 400, 0, op);
|
||||
profileRequires(loc, ECoreProfile, 400, nullptr, op);
|
||||
profileRequires(loc, ECompatibilityProfile, 400, nullptr, op);
|
||||
}
|
||||
|
||||
} // end namespace glslang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue