Fix build/fill UBO padding on Windows (#1649)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
mwilsnd
2023-09-19 18:51:18 -04:00
committed by GitHub
parent 5252f349d1
commit c6737e8df1
8 changed files with 17 additions and 2 deletions

View File

@@ -309,7 +309,8 @@ void FillLayerTweaker::execute(LayerGroupBase& layerGroup,
const FillOutlineDrawableUBO drawableUBO = {
/*.matrix=*/util::cast<float>(matrix),
/*.world=*/{(float)renderableSize.width, (float)renderableSize.height},
};
/* pad1 */ 0,
/* pad2 */ 0};
uniforms.createOrUpdate(idFillOutlineDrawableUBOName, &drawableUBO, context);