mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Disable achievements UI on emscripten.
This commit is contained in:
parent
2e2e6257d7
commit
02ad97ff3f
@ -1236,11 +1236,14 @@ static void DrawContents()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __EMSCRIPTEN__
|
||||||
if( !s_config.achievementsAsked )
|
if( !s_config.achievementsAsked )
|
||||||
{
|
{
|
||||||
s_config.achievementsAsked = true;
|
s_config.achievementsAsked = true;
|
||||||
ImGui::OpenPopup( ICON_FA_STAR " Achievements" );
|
ImGui::OpenPopup( ICON_FA_STAR " Achievements" );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if( ImGui::BeginPopupModal( ICON_FA_STAR " Achievements", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
if( ImGui::BeginPopupModal( ICON_FA_STAR " Achievements", nullptr, ImGuiWindowFlags_AlwaysAutoResize ) )
|
||||||
{
|
{
|
||||||
ImGui::TextUnformatted( "Tracy Profiler is a complex tool with many features. It" );
|
ImGui::TextUnformatted( "Tracy Profiler is a complex tool with many features. It" );
|
||||||
|
Loading…
Reference in New Issue
Block a user