Drawable Renderer (#1570), warnings
This commit is contained in:
committed by
Bart Louwers
parent
d7e00ff1c4
commit
326f669568
@@ -45,7 +45,9 @@ struct alignas(16) BackgroundPatternLayerUBO {
|
||||
};
|
||||
static_assert(sizeof(BackgroundPatternLayerUBO) == 96);
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
static constexpr std::string_view BackgroundPatternShaderName = "BackgroundPatternShader";
|
||||
#endif
|
||||
static constexpr std::string_view BackgroundDrawableUBOName = "BackgroundDrawableUBO";
|
||||
static constexpr std::string_view BackgroundLayerUBOName = "BackgroundLayerUBO";
|
||||
|
||||
|
||||
@@ -100,8 +100,8 @@ void FillLayerTweaker::execute(LayerGroup& layerGroup,
|
||||
Faded<style::expression::Image> pattern = *fillPatternProperty.constant();
|
||||
const auto& patternFrom = pattern.from;
|
||||
const auto& patternTo = pattern.to;
|
||||
__unused const auto& idFrom = patternFrom.id();
|
||||
__unused const auto& idTo = patternTo.id();
|
||||
[[maybe_unused]] const auto& idFrom = patternFrom.id();
|
||||
[[maybe_unused]] const auto& idTo = patternTo.id();
|
||||
}
|
||||
|
||||
const auto& translation = evaluated.get<FillTranslate>();
|
||||
|
||||
Reference in New Issue
Block a user