Remove redundant check.

This commit is contained in:
Bartosz Taudul 2023-04-24 23:57:27 +02:00
parent def30228c9
commit fa815f3c3b
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -570,7 +570,7 @@ static void DrawContents()
{ {
tracy::OpenWebpage( "https://github.com/sponsors/wolfpld/" ); tracy::OpenWebpage( "https://github.com/sponsors/wolfpld/" );
} }
if( updateVersion != 0 && updateVersion > tracy::FileVersion( tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch ) ) if( updateVersion > tracy::FileVersion( tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch ) )
{ {
ImGui::Separator(); ImGui::Separator();
ImGui::TextColored( ImVec4( 1, 1, 0, 1 ), ICON_FA_EXCLAMATION " Update to %i.%i.%i is available!", ( updateVersion >> 16 ) & 0xFF, ( updateVersion >> 8 ) & 0xFF, updateVersion & 0xFF ); ImGui::TextColored( ImVec4( 1, 1, 0, 1 ), ICON_FA_EXCLAMATION " Update to %i.%i.%i is available!", ( updateVersion >> 16 ) & 0xFF, ( updateVersion >> 8 ) & 0xFF, updateVersion & 0xFF );