Fix -Wignored-qualifier and -Wunused-variable warnings
This commit is contained in:
parent
29619b2312
commit
e70614223f
2 changed files with 3 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public:
|
|||
name(pName), offset(pOffset),
|
||||
glDefineType(pGLDefineType), size(pSize), index(pIndex), counterIndex(-1), stages(EShLanguageMask(0)), type(pType.clone()) { }
|
||||
|
||||
const TType* const getType() const { return type; }
|
||||
const TType* getType() const { return type; }
|
||||
int getBinding() const
|
||||
{
|
||||
if (type == nullptr || !type->getQualifier().hasBinding())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue