-Index: marble-1.0.0/src/lib/AbstractScanlineTextureMapper.cpp
+Index: tmp.BqMy4aY8YI/src/lib/ScanlineTextureMapperContext.cpp
===================================================================
---- marble-1.0.0.orig/src/lib/AbstractScanlineTextureMapper.cpp 2011-01-21 19:56:08.000000000 +0100
-+++ marble-1.0.0/src/lib/AbstractScanlineTextureMapper.cpp 2011-01-21 19:59:23.000000000 +0100
-@@ -231,8 +231,8 @@
+--- tmp.BqMy4aY8YI.orig/src/lib/ScanlineTextureMapperContext.cpp 2011-06-07 22:40:08.000000000 +0200
++++ tmp.BqMy4aY8YI/src/lib/ScanlineTextureMapperContext.cpp 2011-06-07 22:40:18.000000000 +0200
+@@ -176,8 +176,8 @@
nextTile( posX, posY );
- itLon = m_prevLon + m_toTileCoordinatesLon;
- itLat = m_prevLat + m_toTileCoordinatesLat;
+ itLon = prevPixelX + m_toTileCoordinatesLon;
+ itLat = prevPixelY + m_toTileCoordinatesLat;
- posX = itLon + itStepLon * j;
- posY = itLat + itStepLat * j;
+ posX = qMax<qreal>( 0.0, qMin<qreal>( tileWidth-1.0, itLon + itStepLon * j ) );