- reenable clut merging
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 20 May 2005 20:50:18 +0000 (20:50 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 20 May 2005 20:50:18 +0000 (20:50 +0000)
lib/gdi/gpixmap.cpp

index 96a3e9b..9bb5977 100644 (file)
@@ -227,7 +227,7 @@ void gPixmap::mergePalette(const gPixmap &target)
        eDebug("merge palette! %p %p", surface, target.surface);
        if ((!surface->clut.colors) || (!target.surface->clut.colors))
                return;
-#if 0
+
        gColor *lookup=new gColor[surface->clut.colors];
 
        for (int i=0; i<surface->clut.colors; i++)
@@ -248,7 +248,6 @@ void gPixmap::mergePalette(const gPixmap &target)
        }
        
        delete [] lookup;
-#endif
 }
 
 static inline int sgn(int a)