mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Don't use general renderer when "apply zoom" is enabled
Related to #1349
This commit is contained in:
parent
fc4dd0311b
commit
dfa90d15c8
@ -1084,11 +1084,11 @@ CompositeImageFunc Render::getImageComposition(
|
||||
// blend src+dst one time and repeat the resulting color in dst
|
||||
// image n-times (where n is the zoom scale).
|
||||
const bool finegrain =
|
||||
(m_bgCheckedSize.w < m_proj.applyX(1) ||
|
||||
m_bgCheckedSize.h < m_proj.applyY(1) ||
|
||||
(layer &&
|
||||
layer->isGroup() &&
|
||||
has_visible_reference_layers(static_cast<const LayerGroup*>(layer))));
|
||||
(!m_bgZoom && (m_bgCheckedSize.w < m_proj.applyX(1) ||
|
||||
m_bgCheckedSize.h < m_proj.applyY(1))) ||
|
||||
(layer &&
|
||||
layer->isGroup() &&
|
||||
has_visible_reference_layers(static_cast<const LayerGroup*>(layer)));
|
||||
|
||||
switch (srcFormat) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user