Bug 1447286 - Update for API changes in WR PR 2555. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 22 Mar 2018 10:29:02 -0400
changeset 771136 a70f9abffdf78f3b0c5c73bf69a638c3b95d0210
parent 771135 a93b06905b70bab64e907525360149d4891b3214
child 771156 dc2b4e20467bd2f63c5b83329a8d3dfb298899e9
push id103574
push userkgupta@mozilla.com
push dateThu, 22 Mar 2018 14:29:33 +0000
reviewersjrmuizel
bugs1447286
milestone61.0a1
Bug 1447286 - Update for API changes in WR PR 2555. r?jrmuizel MozReview-Commit-ID: CEhcf8PlOp4
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -262,16 +262,17 @@ impl<'a> Into<ImageDescriptor> for &'a W
             stride: if self.stride != 0 {
                 Some(self.stride)
             } else {
                 None
             },
             format: self.format,
             is_opaque: self.is_opaque,
             offset: 0,
+            allow_mipmaps: true,
         }
     }
 }
 
 /// cbindgen:field-names=[mHandle]
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub struct WrExternalImageId(pub u64);