Bug 1699790: Increase webrender max texture size to max allowed by Moz2D. r=nical

Differential Revision: https://phabricator.services.mozilla.com/D109107
This commit is contained in:
Bob Owen 2021-03-22 12:28:30 +00:00
Родитель 1f07981930
Коммит aaba56d47d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,