Skip to content
Commit 6a064b19 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Make hashing function in the tile manager more robust

In same rare cases (which are officially bugs and must be fixed), the
algorithms may request tiles from the tile data manager from
non-addressable range, which is above +/- 2 million pixels. The tile
manager cannot address anything there, so before the patch it just
crashed with an assert. This patch add a fallback solution: the such
a case, the tile manager will just return an empty detached tile to
the caller. This tile will be destroyed via a shared pointer when
the caller is done processing it.

CCBUG:441826
parent 2dabf2cd
Loading
Loading
Loading
Pipeline #100820 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment