X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/541f4834850f3342d1a5925a44b471eb10f353fc..78950dbe85f5eafb3adb817eef742654d1f84e5a:/lib/gdi/gpixmap.cpp diff --git a/lib/gdi/gpixmap.cpp b/lib/gdi/gpixmap.cpp index 96a3e9b0..f0f04d69 100644 --- a/lib/gdi/gpixmap.cpp +++ b/lib/gdi/gpixmap.cpp @@ -224,10 +224,9 @@ void gPixmap::blit(const gPixmap &src, ePoint pos, const gRegion &clip, int flag 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 +247,6 @@ void gPixmap::mergePalette(const gPixmap &target) } delete [] lookup; -#endif } static inline int sgn(int a)