Apply pending render states in RAF

This commit is contained in:
Manish Goregaokar 2019-07-08 16:12:08 -07:00
parent cf53cf6cc5
commit 33421e8ee0
2 changed files with 30 additions and 4 deletions

View file

@ -47,7 +47,7 @@ impl XRRenderState {
)
}
pub fn copy(&self) -> DomRoot<Self> {
pub fn clone_object(&self) -> DomRoot<Self> {
XRRenderState::new(
&self.global(),
self.depth_near.get(),