diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-24 15:17:42 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-24 15:17:42 -0400 |
commit | c5a7738dd640604a523e6e069cba92940d502614 (patch) | |
tree | 7f80aa2385013dcb9bb2d5dd7fe4723765b0896b /common | |
parent | 0cdaf58027b758650f4bb7ca7a006cb8568c080c (diff) | |
download | qtlocation-mapboxgl-c5a7738dd640604a523e6e069cba92940d502614.tar.gz |
move make_active call into MBGL_USE_CGL block
Diffstat (limited to 'common')
-rw-r--r-- | common/headless_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp index d38a450070..6ab005b6cf 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -114,9 +114,9 @@ void HeadlessView::resize(int width, int height) { } void HeadlessView::clear_buffers() { +#if MBGL_USE_CGL make_active(); -#if MBGL_USE_CGL glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); if (fbo) { |