summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-04-04 20:17:15 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-04-10 18:01:28 +0300
commit2417d13f08fc0457b6e9d38a1da7df110a71837a (patch)
tree2175b4033d08ab18ba9a48ea80f733036a9f990f
parentb25c8f043b1622f8e4f4ddb16956861969786c00 (diff)
downloadqtlocation-mapboxgl-2417d13f08fc0457b6e9d38a1da7df110a71837a.tar.gz
[ios] Initialize MGLMapView with OpenGL ES 2.0 minimum texture size
-rw-r--r--platform/ios/test/MGLAnnotationViewTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/test/MGLAnnotationViewTests.m b/platform/ios/test/MGLAnnotationViewTests.m
index 212de9a405..c0978eaf65 100644
--- a/platform/ios/test/MGLAnnotationViewTests.m
+++ b/platform/ios/test/MGLAnnotationViewTests.m
@@ -51,7 +51,7 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu
- (void)setUp
{
[super setUp];
- _mapView = [[MGLMapView alloc] initWithFrame:CGRectZero];
+ _mapView = [[MGLMapView alloc] initWithFrame:CGRectMake(0, 0, 64, 64)];
_mapView.delegate = self;
}