Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-10-08 15:51:21 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-08 15:51:21 +0300
commit63743f2760172fb4eee48b39df4b29658294f28a (patch)
tree67d09ed79a2066421d030df868c384048fc23380 /profiler
parentfadd103169455c75666dfaf4eee6998d03300b8b (diff)
Don't listen for broadcasts on emscripten.
Diffstat (limited to 'profiler')
-rw-r--r--profiler/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
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::milliseconds>( 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 );