mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-11-11 22:57:41 +00:00
Align UI storage event runtime contracts
This commit is contained in:
1 parent
f055d36fd5
commit
b2d19334af
11 files changed
+2291
-61
No files matched your search
@@ -60,6 +60,15 @@ std::size_t MapTileAsyncRuntime::requestVisibleTiles(const MapViewportPlan& plan
|
||||
return queued;
|
||||
}
|
||||
|
||||
std::size_t MapTileAsyncRuntime::cancelGeneration(uint32_t generation)
|
||||
{
|
||||
if (active_generation_ == generation)
|
||||
{
|
||||
active_generation_ = 0;
|
||||
}
|
||||
return commands_.cancelGeneration(generation);
|
||||
}
|
||||
|
||||
bool MapTileAsyncRuntime::handleEvent(const MapTileAsyncEvent& event, MapTileRenderQueue& render_queue)
|
||||
{
|
||||
if (event.generation != active_generation_)
|
||||
|
||||
Reference in new issue
Block a user