summarylogtreecommitdiffstats
path: root/0005-Fix-cbindgen-BudgetType_VALUES-COUNT-issue.patch
blob: beb2aad023b88a5c63ea58c513209eeb051f54f6 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/gfx/wr/webrender/src/texture_cache.rs
+++ b/gfx/wr/webrender/src/texture_cache.rs
@@ -275,7 +275,7 @@ impl BudgetType {
     const COUNT: usize = 7;
 
-    const VALUES: [BudgetType; BudgetType::COUNT] = [
+    const VALUES: [BudgetType; 7] = [
         BudgetType::SharedColor8Linear,
         BudgetType::SharedColor8Nearest,
         BudgetType::SharedColor8Glyphs,