X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/823e8897d98c90e114bf68c9af754c72fdd9d411..8eb03b9a607269d101bf67c7734cf3fb5346ccf5:/lib/gdi/gpixmap.cpp diff --git a/lib/gdi/gpixmap.cpp b/lib/gdi/gpixmap.cpp index 96a3e9b0..9bb59776 100644 --- a/lib/gdi/gpixmap.cpp +++ b/lib/gdi/gpixmap.cpp @@ -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; iclut.colors; i++) @@ -248,7 +248,6 @@ void gPixmap::mergePalette(const gPixmap &target) } delete [] lookup; -#endif } static inline int sgn(int a)