rotor turning with measure input power is now working
[enigma2.git] / lib / gdi / gpixmap.cpp
index 96a3e9b0ac4d4af2529333814a7c00b96ebf71a0..9bb59776b8e9973344b6eee6481de143280a99cc 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)