|
@@ -365,6 +365,9 @@ public class AppStateManager {
|
|
|
AppState[] array = getStates();
|
|
|
for (AppState state : array){
|
|
|
if (state.isEnabled()) {
|
|
|
+ if (app.getAppProfiler() != null) {
|
|
|
+ app.getAppProfiler().appSubStep(state.getClass().getSimpleName());
|
|
|
+ }
|
|
|
state.render(rm);
|
|
|
}
|
|
|
}
|
|
@@ -377,6 +380,9 @@ public class AppStateManager {
|
|
|
AppState[] array = getStates();
|
|
|
for (AppState state : array){
|
|
|
if (state.isEnabled()) {
|
|
|
+ if (app.getAppProfiler() != null) {
|
|
|
+ app.getAppProfiler().appSubStep(state.getClass().getSimpleName());
|
|
|
+ }
|
|
|
state.postRender();
|
|
|
}
|
|
|
}
|