Skip to content

Commit

Permalink
Generalize args: CGameFont -> IGameFont.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Dec 5, 2015
1 parent 7041019 commit d6fb874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrEngine/Stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CStats::~CStats()
}


static void DumpSpatialStatistics(CGameFont &font, IPerformanceAlert *alert, ISpatial_DB &db, float engineTotal)
static void DumpSpatialStatistics(IGameFont &font, IPerformanceAlert *alert, ISpatial_DB &db, float engineTotal)
{
#ifdef DEBUG
auto &stats = db.Stats;
Expand All @@ -87,7 +87,7 @@ static void DumpSpatialStatistics(CGameFont &font, IPerformanceAlert *alert, ISp
#endif
}

static void DumpColliderStatistics(CGameFont &font, IPerformanceAlert *alert)
static void DumpColliderStatistics(IGameFont &font, IPerformanceAlert *alert)
{
auto &stats = XRC.Stats;
stats.FrameEnd();
Expand Down

0 comments on commit d6fb874

Please sign in to comment.