fix warning unused parameter in release build (#2251)
This commit is contained in:
parent
e00d27c6d6
commit
d0c9129d2f
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ public:
|
|||
void setSource(EShSource s) { source = s; }
|
||||
EShSource getSource() const { return source; }
|
||||
#else
|
||||
void setSource(EShSource s) { assert(s == EShSourceGlsl); }
|
||||
void setSource(EShSource s) { assert(s == EShSourceGlsl); (void)s; }
|
||||
EShSource getSource() const { return EShSourceGlsl; }
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue