[Marble-commits] branches/KDE/4.4/kdeedu/marble/src/lib

Torsten Rahn tackat at kde.org
Mon Jan 18 23:19:52 CET 2010


SVN commit 1076823 by rahn:

- Speedup for OSM rendering (Thanks go to Dennis Nienhüser for finding
  this)



 M  +1 -1      TextureTile.cpp  


--- branches/KDE/4.4/kdeedu/marble/src/lib/TextureTile.cpp #1076822:1076823
@@ -79,7 +79,7 @@
 {
     if ( m_depth == 8 || m_depth == 1 ) {
         if ( !m_isGrayscale )
-            return m_rawtile.pixel( x, y );
+            return m_rawtile.color( (jumpTable8)[y][x] );
         else
             return (jumpTable8)[y][x];
     }


More information about the Marble-commits mailing list