parent
ca13951205
commit
95e15366e7
5 changed files with 51 additions and 5 deletions
|
|
@ -1802,7 +1802,7 @@ unsigned int TIntermediate::computeTypeXfbSize(const TType& type, bool& contains
|
|||
return size;
|
||||
}
|
||||
|
||||
int numComponents;
|
||||
int numComponents {0};
|
||||
if (type.isScalar())
|
||||
numComponents = 1;
|
||||
else if (type.isVector())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue