Skip to content

Commit

Permalink
Fix mesh flags (#15804)
Browse files Browse the repository at this point in the history
Fixed incorrect mesh flags offsets

## Testing

Ran OIT example since that was the affected flag
  • Loading branch information
ecoskey authored Oct 9, 2024
1 parent 15072d7 commit f18be66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_pbr/src/render/mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,8 +1494,8 @@ bitflags::bitflags! {
const SCREEN_SPACE_REFLECTIONS = 1 << 16;
const HAS_PREVIOUS_SKIN = 1 << 17;
const HAS_PREVIOUS_MORPH = 1 << 18;
const OIT_ENABLED = 1 << 18;
const LAST_FLAG = Self::HAS_PREVIOUS_MORPH.bits();
const OIT_ENABLED = 1 << 19;
const LAST_FLAG = Self::OIT_ENABLED.bits();

// Bitfields
const MSAA_RESERVED_BITS = Self::MSAA_MASK_BITS << Self::MSAA_SHIFT_BITS;
Expand Down

0 comments on commit f18be66

Please sign in to comment.