Skip to content

Commit 346428b

Browse files
committed
core: Remove HAS_PERSPECTIVE_PROJECTION_STUB flag
It's now unused because ruffle_render::Transform stores Option<PerspectiveProjection>.
1 parent 3fb36b6 commit 346428b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

core/src/display_object.rs

-13
Original file line numberDiff line numberDiff line change
@@ -822,16 +822,6 @@ impl<'gc> DisplayObjectBase<'gc> {
822822
pub fn set_has_matrix3d_stub(&mut self, value: bool) {
823823
self.flags.set(DisplayObjectFlags::HAS_MATRIX3D_STUB, value)
824824
}
825-
826-
pub fn has_perspective_projection_stub(&self) -> bool {
827-
self.flags
828-
.contains(DisplayObjectFlags::HAS_PERSPECTIVE_PROJECTION_STUB)
829-
}
830-
831-
pub fn set_has_perspective_projection_stub(&mut self, value: bool) {
832-
self.flags
833-
.set(DisplayObjectFlags::HAS_PERSPECTIVE_PROJECTION_STUB, value)
834-
}
835825
}
836826

837827
struct DrawCacheInfo {
@@ -2673,9 +2663,6 @@ bitflags! {
26732663

26742664
/// Whether this object has matrix3D (used for stubbing).
26752665
const HAS_MATRIX3D_STUB = 1 << 14;
2676-
2677-
/// Whether this object has perspectiveProjection (used for stubbing).
2678-
const HAS_PERSPECTIVE_PROJECTION_STUB = 1 << 15;
26792666
}
26802667
}
26812668

0 commit comments

Comments
 (0)