Skip to content

Commit 2c5f8f4

Browse files
committed
Try to fix alignment for MSVC
1 parent 6fdafac commit 2c5f8f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/gfx/clear.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ constexpr uint32_t ClearPipelineConfigVersion = 2;
1515
struct PipelineConfig {
1616
uint32_t version = ClearPipelineConfigVersion;
1717
uint32_t msaaSamples = 1;
18-
bool clearColor : 1 = true;
19-
bool clearAlpha : 1 = true;
20-
bool clearDepth : 1 = true;
21-
uint32_t _pad : 29 = 0;
18+
bool clearColor = true;
19+
bool clearAlpha = true;
20+
bool clearDepth = true;
21+
uint8_t _pad = 0;
2222
};
2323
static_assert(std::has_unique_object_representations_v<PipelineConfig>);
2424

0 commit comments

Comments
 (0)