fix warnings
This commit is contained in:
@@ -532,13 +532,8 @@ void Map::prepare() {
|
||||
transform.updateTransitions(animationTime);
|
||||
}
|
||||
|
||||
const TransformState oldState = state;
|
||||
state = transform.currentState();
|
||||
|
||||
bool pixelRatioChanged = oldState.getPixelRatio() != state.getPixelRatio();
|
||||
bool dimensionsChanged = oldState.getFramebufferWidth() != state.getFramebufferWidth() ||
|
||||
oldState.getFramebufferHeight() != state.getFramebufferHeight();
|
||||
|
||||
animationTime = util::now();
|
||||
updateSources();
|
||||
style->updateProperties(state.getNormalizedZoom(), animationTime);
|
||||
|
||||
Reference in New Issue
Block a user