@@ -270,7 +270,7 @@ struct Application {
270270 const auto targetFrameTime = getTargetFrameTime ();
271271 bool skipRetrace = false ;
272272 if (g_ResFactory != nullptr ) {
273- OPTICK_EVENT (" Async Load Resources" );
273+ // OPTICK_EVENT("Async Load Resources");
274274 const auto idleTime = m_limiter.SleepTime (targetFrameTime);
275275 skipRetrace = g_ResFactory->AsyncIdle (idleTime);
276276 }
@@ -281,12 +281,12 @@ struct Application {
281281 } else {
282282 // No more to load, and we're under frame time
283283 {
284- OPTICK_EVENT (" Sleep" );
284+ // OPTICK_EVENT("Sleep");
285285 m_limiter.Sleep (targetFrameTime);
286286 }
287287 }
288288
289- OPTICK_FRAME (" MainThread" );
289+ // OPTICK_FRAME("MainThread");
290290
291291 // Check if fullscreen has been toggled, if so set the fullscreen cvar accordingly
292292 if (m_fullscreenToggleRequested) {
@@ -350,7 +350,7 @@ struct Application {
350350 }
351351
352352 void onAppDraw () noexcept {
353- OPTICK_EVENT (" Draw" );
353+ // OPTICK_EVENT("Draw");
354354 if (g_Renderer != nullptr ) {
355355 g_Renderer->BeginScene ();
356356 if (g_mainMP1) {
@@ -362,7 +362,7 @@ struct Application {
362362 }
363363
364364 void onAppPostDraw () noexcept {
365- OPTICK_EVENT (" PostDraw" );
365+ // OPTICK_EVENT("PostDraw");
366366// if (m_voiceEngine) {
367367// m_voiceEngine->pumpAndMixVoices();
368368// }
0 commit comments