fix: 修复 V15 WeatherColor Metal 纹理生命周期
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled

This commit is contained in:
tei
2026-09-27 18:41:56 +09:00
parent cd71640a84
commit 5af91fe7a1
7 changed files with 236 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
namespace mbgl {
template <class Texture>
constexpr bool weatherColorDrawableBindingsChanged(const Texture* previous0,
const Texture* previous1,
const Texture* next0,
const Texture* next1,
bool wrapsChanged) noexcept {
return wrapsChanged || previous0 != next0 || previous1 != next1;
}
} // namespace mbgl