зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1f07981930
Коммит
aaba56d47d
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче