mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove XR canvas dirtying step.
This commit is contained in:
parent
b4d7ec1c99
commit
085e17b73c
2 changed files with 2 additions and 10 deletions
|
@ -412,14 +412,6 @@ impl XRSession {
|
|||
"WEBXR PROFILING [raf execute]:\t{}ms",
|
||||
(time::precise_time_ns() - raf_start) as f64 / 1_000_000.
|
||||
);
|
||||
|
||||
// If the canvas element is attached to the DOM, it is now dirty,
|
||||
// and we need to trigger a reflow.
|
||||
base_layer
|
||||
.Context()
|
||||
.Canvas()
|
||||
.upcast::<Node>()
|
||||
.dirty(NodeDamage::OtherNodeDamage);
|
||||
}
|
||||
|
||||
fn update_inline_projection_matrix(&self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue