diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-08-08 10:51:58 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-08-09 11:27:24 +0300 |
commit | d88567ee0997b0430db3ac7cf6deb20a0615098e (patch) | |
tree | 071ac09b9edaac579cecd177d82d86d5054fae41 | |
parent | 822df3dd514ec3d05f876e6746cb8ba6348ac89d (diff) | |
download | qtlocation-mapboxgl-d88567ee0997b0430db3ac7cf6deb20a0615098e.tar.gz |
[core] fix shadowing argument on apple clang
-rw-r--r-- | platform/default/mbgl/gl/headless_backend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/default/mbgl/gl/headless_backend.cpp b/platform/default/mbgl/gl/headless_backend.cpp index a854fe9731..fe77b80985 100644 --- a/platform/default/mbgl/gl/headless_backend.cpp +++ b/platform/default/mbgl/gl/headless_backend.cpp @@ -11,9 +11,9 @@ namespace mbgl { class HeadlessBackend::View { public: - View(gl::Context& context, Size size) - : color(context.createRenderbuffer<gl::RenderbufferType::RGBA>(size)), - depthStencil(context.createRenderbuffer<gl::RenderbufferType::DepthStencil>(size)), + View(gl::Context& context, Size size_) + : color(context.createRenderbuffer<gl::RenderbufferType::RGBA>(size_)), + depthStencil(context.createRenderbuffer<gl::RenderbufferType::DepthStencil>(size_)), framebuffer(context.createFramebuffer(color, depthStencil)) { } |