Skip to content

Commit

Permalink
Merge pull request #98946 from timothyqiu/3d-index
Browse files Browse the repository at this point in the history
Remove unnecessary `_3D_DISABLED` checks in `Performance`
  • Loading branch information
Repiteo committed Nov 22, 2024
2 parents f952bfe + 5f8df2c commit fd4bddb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main/performance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,9 @@ String Performance::get_monitor_name(Monitor p_monitor) const {
PNAME("physics_2d/active_objects"),
PNAME("physics_2d/collision_pairs"),
PNAME("physics_2d/islands"),
#ifndef _3D_DISABLED
PNAME("physics_3d/active_objects"),
PNAME("physics_3d/collision_pairs"),
PNAME("physics_3d/islands"),
#endif // _3D_DISABLED
PNAME("audio/driver/output_latency"),
PNAME("navigation/active_maps"),
PNAME("navigation/regions"),
Expand Down Expand Up @@ -280,11 +278,9 @@ Performance::MonitorType Performance::get_monitor_type(Monitor p_monitor) const
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
#ifndef _3D_DISABLED
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
#endif // _3D_DISABLED
MONITOR_TYPE_TIME,
MONITOR_TYPE_QUANTITY,
MONITOR_TYPE_QUANTITY,
Expand Down

0 comments on commit fd4bddb

Please sign in to comment.