fix: 修复 V15 WeatherColor Metal 纹理生命周期
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user