diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-03-22 14:56:43 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 13:53:19 +0200 |
commit | f70f604e5b99062a24764716ccdeda64c36320be (patch) | |
tree | dbdb1399eb0e23abb66fdb0496cebc70154945ee /platform/macos/src | |
parent | a84aa453a9124867cb285f012abd97077ab2a019 (diff) | |
download | qtlocation-mapboxgl-f70f604e5b99062a24764716ccdeda64c36320be.tar.gz |
[core] Privatize gl/gl.hpp
Diffstat (limited to 'platform/macos/src')
-rw-r--r-- | platform/macos/src/MGLMapView.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm index 3bf3909c8e..49d7509fc7 100644 --- a/platform/macos/src/MGLMapView.mm +++ b/platform/macos/src/MGLMapView.mm @@ -28,7 +28,6 @@ #import <mbgl/util/default_thread_pool.hpp> #import <mbgl/map/backend.hpp> #import <mbgl/map/backend_scope.hpp> -#import <mbgl/gl/gl.hpp> #import <mbgl/sprite/sprite_image.hpp> #import <mbgl/storage/default_file_source.hpp> #import <mbgl/storage/network_status.hpp> @@ -55,6 +54,7 @@ #import "NSPredicate+MGLAdditions.h" #import <QuartzCore/QuartzCore.h> +#import <OpenGL/gl.h> class MGLMapViewImpl; class MGLAnnotationContext; @@ -2866,7 +2866,7 @@ public: } void updateAssumedState() override { - MBGL_CHECK_ERROR(glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo)); + glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); assumeFramebufferBinding(fbo); assumeViewportSize(nativeView.framebufferSize); } |