summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-11 15:57:35 +0200
committerJulian Rex <julian.rex@gmail.com>2019-04-11 09:57:35 -0400
commite95bf4dd9b804d6ec13417478dd1f87e888213bb (patch)
treef3243e04427bbcb6eb8622d180c229fc68b8e239 /src/mbgl/gl
parentbd5527fea7da17bc5dd2f3611788702a2c708c09 (diff)
downloadqtlocation-mapboxgl-e95bf4dd9b804d6ec13417478dd1f87e888213bb.tar.gz
[ios] run glFlush when reducing memory and don't reduce memory while in background (#14383)
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r--src/mbgl/gl/context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp
index e91c922a50..394f2cd0d7 100644
--- a/src/mbgl/gl/context.cpp
+++ b/src/mbgl/gl/context.cpp
@@ -812,6 +812,8 @@ void Context::performCleanup() {
abandonedRenderbuffers.data()));
abandonedRenderbuffers.clear();
}
+
+ MBGL_CHECK_ERROR(glFinish());
}
#if not defined(NDEBUG)