diff options
Diffstat (limited to 'components/script/dom/xrwebgllayer.rs')
-rw-r--r-- | components/script/dom/xrwebgllayer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xrwebgllayer.rs b/components/script/dom/xrwebgllayer.rs index a5f06df0e52..148d773fe6f 100644 --- a/components/script/dom/xrwebgllayer.rs +++ b/components/script/dom/xrwebgllayer.rs @@ -115,7 +115,7 @@ impl XRWebGLLayer { 0, constants::RGBA, constants::UNSIGNED_BYTE, - pixels.root(cx), + pixels.root(*cx), ); // Bind the new texture to the framebuffer |