diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index c129f491..9d2d95bd 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -265,6 +265,7 @@ static void DrawContents() static uint16_t reconnectPort; static bool showFilter = false; +#ifndef __EMSCRIPTEN__ if( !view ) { const auto time = std::chrono::duration_cast( std::chrono::system_clock::now().time_since_epoch() ).count(); @@ -352,6 +353,7 @@ static void DrawContents() { clients.clear(); } +#endif int display_w, display_h; bptr->NewFrame( display_w, display_h );