mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-20 02:43:15 +00:00
Clear up a C++ compile warning
This commit is contained in:
parent
e0603a441e
commit
ff5abf34a8
@ -43,6 +43,8 @@ class TConstUnion {
|
||||
public:
|
||||
POOL_ALLOCATOR_NEW_DELETE(GetThreadPoolAllocator())
|
||||
|
||||
TConstUnion() : iConst(0), type(EbtInt) { }
|
||||
|
||||
void setIConst(int i)
|
||||
{
|
||||
iConst = i;
|
||||
@ -398,7 +400,7 @@ private:
|
||||
unsigned int uConst; // used for uvec, scalar uints
|
||||
bool bConst; // used for bvec, scalar bools
|
||||
double dConst; // used for vec, dvec, mat, dmat, scalar floats and doubles
|
||||
} ;
|
||||
};
|
||||
|
||||
TBasicType type;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user