Skip to content

Commit

Permalink
Bug 1699790: Increase webrender max texture size to max allowed by Mo…
Browse files Browse the repository at this point in the history
…z2D. r=nical

Differential Revision: https://phabricator.services.mozilla.com/D109107
  • Loading branch information
bobowen committed Mar 22, 2021
1 parent 1f07981 commit aaba56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/webrender_bindings/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ pub extern "C" fn wr_window_new(
upload_method,
scene_builder_hooks: Some(Box::new(APZCallbacks::new(window_id))),
sampler: Some(Box::new(SamplerCallback::new(window_id))),
max_texture_size: Some(8192), // Moz2D doesn't like textures bigger than this
max_texture_size: Some(11180), // Moz2D won't accept textures bigger than this squared
clear_color: Some(color),
precache_flags,
namespace_alloc_by_client: true,
Expand Down

0 comments on commit aaba56d

Please sign in to comment.