Skip to content

Commit f18be66

Browse files
authored
Fix mesh flags (#15804)
Fixed incorrect mesh flags offsets ## Testing Ran OIT example since that was the affected flag
1 parent 15072d7 commit f18be66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_pbr/src/render/mesh.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,8 +1494,8 @@ bitflags::bitflags! {
14941494
const SCREEN_SPACE_REFLECTIONS = 1 << 16;
14951495
const HAS_PREVIOUS_SKIN = 1 << 17;
14961496
const HAS_PREVIOUS_MORPH = 1 << 18;
1497-
const OIT_ENABLED = 1 << 18;
1498-
const LAST_FLAG = Self::HAS_PREVIOUS_MORPH.bits();
1497+
const OIT_ENABLED = 1 << 19;
1498+
const LAST_FLAG = Self::OIT_ENABLED.bits();
14991499

15001500
// Bitfields
15011501
const MSAA_RESERVED_BITS = Self::MSAA_MASK_BITS << Self::MSAA_SHIFT_BITS;

0 commit comments

Comments
 (0)