mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +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;
|
connHist = &connHistory;
|
||||||
filt = &filters;
|
filt = &filters;
|
||||||
|
|
||||||
|
#ifndef __EMSCRIPTEN__
|
||||||
updateThread = std::thread( [] {
|
updateThread = std::thread( [] {
|
||||||
HttpRequest( "nereid.pl", "/tracy/version", 8099, [] ( int size, char* data ) {
|
HttpRequest( "nereid.pl", "/tracy/version", 8099, [] ( int size, char* data ) {
|
||||||
if( size == 4 )
|
if( size == 4 )
|
||||||
@ -206,6 +207,7 @@ int main( int argc, char** argv )
|
|||||||
delete[] data;
|
delete[] data;
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
|
#endif
|
||||||
|
|
||||||
auto iconThread = std::thread( [] {
|
auto iconThread = std::thread( [] {
|
||||||
iconPx = stbi_load_from_memory( (const stbi_uc*)Icon_data, Icon_size, &iconX, &iconY, nullptr, 4 );
|
iconPx = stbi_load_from_memory( (const stbi_uc*)Icon_data, Icon_size, &iconX, &iconY, nullptr, 4 );
|
||||||
|
Loading…
Reference in New Issue
Block a user