~3v1n0/unity/callgrind-improvements

« back to all changes in this revision

Viewing changes to launcher/SwitcherView.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2013-04-12 22:48:37 UTC
  • Revision ID: mail@3v1n0.net-20130412224837-w31bf1czcxoyop81
SwitcherView: use std::min instead of MIN

Show diffs side-by-side

added added

removed removed

Lines of Context:
491
491
 
492
492
      x += (half_size + flat_spacing) * scalar;
493
493
 
494
 
      arg.rotation.y = (1.0f - MIN (1.0f, scalar));
 
494
      arg.rotation.y = (1.0f - std::min<float>(1.0f, scalar));
495
495
 
496
496
      if (!should_flat && overflow > 0 && i != selection)
497
497
      {