Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Wrapped world is blank #5648

Merged
merged 1 commit into from
Jul 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mbgl/map/transform_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TransformState::TransformState(ConstrainMode constrainMode_, ViewportMode viewpo
#pragma mark - Matrix

void TransformState::matrixFor(mat4& matrix, const UnwrappedTileID& tileID) const {
const uint32_t tileScale = 1u << tileID.canonical.z;
const uint64_t tileScale = 1ull << tileID.canonical.z;
const double s = worldSize() / tileScale;

matrix::identity(matrix);
Expand Down