summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAdam Hunter <adam@mapbox.com>2015-09-17 14:52:04 -0700
committerAdam Hunter <adam@mapbox.com>2015-09-17 14:52:04 -0700
commite69a110c230c52b33881083d3018b7718f7fec2a (patch)
treeaa26ac34b0781c7d769298fdb391028b29fe8ced /platform
parentd86d11fb3e22da3ecc5ad692a37fb8aa5efdfc27 (diff)
downloadqtlocation-mapboxgl-e69a110c230c52b33881083d3018b7718f7fec2a.tar.gz
Renderbuffer create should be paired with renderbuffer delete.
Diffstat (limited to 'platform')
-rw-r--r--platform/default/headless_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/headless_view.cpp b/platform/default/headless_view.cpp
index a582ed579a..0e688163a1 100644
--- a/platform/default/headless_view.cpp
+++ b/platform/default/headless_view.cpp
@@ -202,7 +202,7 @@ void HeadlessView::clearBuffers() {
}
if (fboColor) {
- MBGL_CHECK_ERROR(glDeleteTextures(1, &fboColor));
+ MBGL_CHECK_ERROR(glDeleteRenderbuffersEXT(1, &fboColor));
fboColor = 0;
}