[ios, macos] Omit perspectiveSkew from drawing context struct

This commit is contained in:
Minh Nguyễn
2016-12-20 16:48:43 -08:00
committed by Minh Nguyễn
parent 1254bcdb40
commit 20b82c8fd1
2 changed files with 0 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ typedef struct MGLStyleLayerDrawingContext {
double zoomLevel;
CLLocationDirection direction;
CGFloat pitch;
CGFloat perspectiveSkew;
} MGLStyleLayerDrawingContext;
@interface MGLOpenGLStyleLayer : MGLStyleLayer

View File

@@ -34,7 +34,6 @@ void MGLDrawCustomStyleLayer(void *context, const mbgl::style::CustomLayerRender
.zoomLevel = params.zoom,
.direction = mbgl::util::wrap(params.bearing, 0., 360.),
.pitch = static_cast<CGFloat>(params.pitch),
.perspectiveSkew = static_cast<CGFloat>(params.altitude),
};
[layer drawInMapView:layer.mapView withContext:drawingContext];
}