diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-11-11 16:59:50 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-12-12 12:37:55 +0100 |
commit | f8ba23377d4377a6047f8cb9b28c8ce94a00e8f5 (patch) | |
tree | 24152803f58f90c614a4f2103d56cac7a75ba8b4 /src/mbgl/renderer/painter.cpp | |
parent | 2648e6a9647001c987cf6db46115b0b8b21127be (diff) | |
download | qtlocation-mapboxgl-f8ba23377d4377a6047f8cb9b28c8ce94a00e8f5.tar.gz |
[performance] remove glFlush()
Diffstat (limited to 'src/mbgl/renderer/painter.cpp')
-rw-r--r-- | src/mbgl/renderer/painter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp index 67d3c9afe2..1af33c4130 100644 --- a/src/mbgl/renderer/painter.cpp +++ b/src/mbgl/renderer/painter.cpp @@ -244,8 +244,6 @@ void Painter::render(const Style& style, const std::set<util::ptr<StyleSource>>& for (const util::ptr<StyleSource> &source : sources) { source->source->finishRender(*this); } - - MBGL_CHECK_ERROR(glFlush()); } void Painter::renderLayers(util::ptr<StyleLayerGroup> group) { |