mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
Workaround for ICE on gcc5
This commit is contained in:
parent
9a6a452857
commit
ac4c589ab5
@ -872,7 +872,7 @@ Surface FindMatch(const SurfaceCache& surface_cache, const SurfaceParams& params
|
|||||||
|
|
||||||
for (auto& pair : RangeFromInterval(surface_cache, params.GetInterval())) {
|
for (auto& pair : RangeFromInterval(surface_cache, params.GetInterval())) {
|
||||||
for (auto& surface : pair.second) {
|
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)
|
||||||
: (params.res_scale <= surface->res_scale);
|
: (params.res_scale <= surface->res_scale);
|
||||||
// validity will be checked in GetCopyableInterval
|
// validity will be checked in GetCopyableInterval
|
||||||
|
Loading…
Reference in New Issue
Block a user