Skip to content

Commit

Permalink
fix ios app
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Malý committed Jan 15, 2019
1 parent 29b5958 commit e89e2a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion browser/src/vts-browser-ios/TimerObj.mm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ - (void)timerTick
return;
try
{
map->renderTick(0.2);
map->renderUpdate(0.2);
camera->renderUpdate();
}
catch (const vts::MapconfigException &)
{
Expand Down
3 changes: 2 additions & 1 deletion browser/src/vts-browser-ios/controllers/MapViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ - (void)update

try
{
map->renderTick([self timeSinceLastUpdate]);
map->renderUpdate([self timeSinceLastUpdate]);
camera->renderUpdate();
}
catch (const vts::MapconfigException &)
{
Expand Down

0 comments on commit e89e2a4

Please sign in to comment.