summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/painter.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@users.noreply.github.com>2016-04-15 22:17:19 +0300
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-15 12:17:19 -0700
commitd51944fbea029f734e8937f4262a1f28bc68d6f7 (patch)
treea594ca6f8f724325fcd2a8b3ccfc48e48ba6e6e3 /src/mbgl/renderer/painter.cpp
parent1ee0055710b31de4fa51a7cc58efe77973255114 (diff)
downloadqtlocation-mapboxgl-d51944fbea029f734e8937f4262a1f28bc68d6f7.tar.gz
[core] Don't copy TransformState (#3501)
Diffstat (limited to 'src/mbgl/renderer/painter.cpp')
-rw-r--r--src/mbgl/renderer/painter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp
index c5e9ac249a..552859343b 100644
--- a/src/mbgl/renderer/painter.cpp
+++ b/src/mbgl/renderer/painter.cpp
@@ -42,7 +42,7 @@
using namespace mbgl;
-Painter::Painter(TransformState& state_, gl::GLObjectStore& glObjectStore_)
+Painter::Painter(const TransformState& state_, gl::GLObjectStore& glObjectStore_)
: state(state_),
glObjectStore(glObjectStore_) {
gl::debugging::enable();