ui: Fixed graphics artifacts on welcome screen

This commit is contained in:
WerWolv
2022-09-05 14:16:31 +02:00
parent 7312908d4d
commit cb682b6e21
3 changed files with 7 additions and 6 deletions

View File

@@ -208,7 +208,7 @@ namespace hex {
namespace ImHexApi::Provider {
static u32 s_currentProvider = std::numeric_limits<u32>::max();
static i64 s_currentProvider = -1;
static std::vector<prv::Provider *> s_providers;
namespace impl {
@@ -247,7 +247,7 @@ namespace hex {
}
bool isValid() {
return !s_providers.empty() && s_currentProvider < s_providers.size();
return !s_providers.empty() && s_currentProvider < i64(s_providers.size());
}
void markDirty() {