mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Disable update check on emscripten.
This commit is contained in:
parent
2b6c53a73e
commit
fadd103169
@ -195,6 +195,7 @@ int main( int argc, char** argv )
|
||||
connHist = &connHistory;
|
||||
filt = &filters;
|
||||
|
||||
#ifndef __EMSCRIPTEN__
|
||||
updateThread = std::thread( [] {
|
||||
HttpRequest( "nereid.pl", "/tracy/version", 8099, [] ( int size, char* data ) {
|
||||
if( size == 4 )
|
||||
@ -206,6 +207,7 @@ int main( int argc, char** argv )
|
||||
delete[] data;
|
||||
} );
|
||||
} );
|
||||
#endif
|
||||
|
||||
auto iconThread = std::thread( [] {
|
||||
iconPx = stbi_load_from_memory( (const stbi_uc*)Icon_data, Icon_size, &iconX, &iconY, nullptr, 4 );
|
||||
|
Loading…
Reference in New Issue
Block a user