Browse Source

Fixed union inner type calculation

Brian Fiete 4 years ago
parent
commit
e517a9745a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      IDEHelper/Compiler/BfResolvedTypeUtils.cpp

+ 0 - 2
IDEHelper/Compiler/BfResolvedTypeUtils.cpp

@@ -1725,8 +1725,6 @@ BfType* BfTypeInstance::GetUnionInnerType(bool* wantSplat)
 		}		
 	}
 
-	unionSize = BF_ALIGN(unionSize, mInstAlign);
-
 	BF_ASSERT(unionInnerType != this);
 
 	// Don't allow a float for the inner type -- to avoid invalid loading invalid FP bit patterns during copies