summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/custom_layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/custom_layer.cpp')
-rw-r--r--src/mbgl/gl/custom_layer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mbgl/gl/custom_layer.cpp b/src/mbgl/gl/custom_layer.cpp
index 456467e904..04b4395e27 100644
--- a/src/mbgl/gl/custom_layer.cpp
+++ b/src/mbgl/gl/custom_layer.cpp
@@ -55,5 +55,13 @@ const LayerTypeInfo* CustomLayer::Impl::staticTypeInfo() noexcept {
return &typeInfoCustom;
}
+bool CustomLayerRenderParameters::operator==(const CustomLayerRenderParameters& o) const {
+ return projectionMatrix == o.projectionMatrix;
+}
+
+bool CustomLayerRenderParameters::operator!=(const CustomLayerRenderParameters& o) const {
+ return !(*this == o);
+}
+
} // namespace style
} // namespace mbgl