We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daabdde commit d5ace07Copy full SHA for d5ace07
webrender/src/texture_cache.rs
@@ -1483,12 +1483,12 @@ impl SlabSize {
1483
1484
let (width, height) = match (x_size, y_size) {
1485
// Special cased rectangular slab pages.
1486
- (512, 256) => (512, 256),
+ (512, 0..=64) => (512, 64),
1487
(512, 128) => (512, 128),
1488
- (512, 64) => (512, 64),
1489
- (256, 512) => (256, 512),
+ (512, 256) => (512, 256),
+ (0..=64, 512) => (64, 512),
1490
(128, 512) => (128, 512),
1491
- ( 64, 512) => ( 64, 512),
+ (256, 512) => (256, 512),
1492
1493
// If none of those fit, use a square slab size.
1494
(x_size, y_size) => {
0 commit comments