mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 15:34:36 +00:00
Don't listen for broadcasts on emscripten.
This commit is contained in:
parent
fadd103169
commit
63743f2760
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user