summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-30 23:37:44 +0300
commit2280a8a752c9f86dc4b94130bd4d8337ec7172c8 (patch)
tree4c433660ab5043855e3592f821ee58b4f9ef7590
parent62b543e44a5d63dd79dfc7ab68696dc8a3f8e3ef (diff)
downloadqtlocation-mapboxgl-2280a8a752c9f86dc4b94130bd4d8337ec7172c8.tar.gz
[core] Fix google-default-arguments errors
As reported by clang-tidy-8.
-rw-r--r--src/mbgl/gl/context.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index b0d043ff9f..f9ca036d2c 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -187,8 +187,7 @@ private:
State<value::PointSize> pointSize;
#endif // MBGL_USE_GLES2
- std::unique_ptr<gfx::OffscreenTexture> createOffscreenTexture(
- Size, gfx::TextureChannelDataType = gfx::TextureChannelDataType::UnsignedByte) override;
+ std::unique_ptr<gfx::OffscreenTexture> createOffscreenTexture(Size, gfx::TextureChannelDataType) override;
std::unique_ptr<gfx::TextureResource>
createTextureResource(Size, gfx::TexturePixelType, gfx::TextureChannelDataType) override;