Workaround for ICE on gcc5
This commit is contained in:
parent
9a6a452857
commit
ac4c589ab5
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ Surface FindMatch(const SurfaceCache& surface_cache, const SurfaceParams& params
|
|||
|
||||
for (auto& pair : RangeFromInterval(surface_cache, params.GetInterval())) {
|
||||
for (auto& surface : pair.second) {
|
||||
const bool res_scale_matched = match_scale_type == ScaleMatch::Exact
|
||||
bool res_scale_matched = match_scale_type == ScaleMatch::Exact
|
||||
? (params.res_scale == surface->res_scale)
|
||||
: (params.res_scale <= surface->res_scale);
|
||||
// validity will be checked in GetCopyableInterval
|
||||
|
|
Loading…
Reference in a new issue