diff options
author | Adam Hunter <adam@mapbox.com> | 2015-09-17 14:52:04 -0700 |
---|---|---|
committer | Adam Hunter <adam@mapbox.com> | 2015-09-17 14:52:04 -0700 |
commit | e69a110c230c52b33881083d3018b7718f7fec2a (patch) | |
tree | aa26ac34b0781c7d769298fdb391028b29fe8ced | |
parent | d86d11fb3e22da3ecc5ad692a37fb8aa5efdfc27 (diff) | |
download | qtlocation-mapboxgl-e69a110c230c52b33881083d3018b7718f7fec2a.tar.gz |
Renderbuffer create should be paired with renderbuffer delete.
-rw-r--r-- | platform/default/headless_view.cpp | 2 |
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; } |