From bdc47b1f975f0d5a055d5adfa87ad8fc830666f4 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 21 Jun 2008 14:48:06 +0000 Subject: [PATCH] Remove transparent magic handling for B_CMAP8, ImportBits() takes care of that already. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26065 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/drawing/Painter/Painter.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/servers/app/drawing/Painter/Painter.cpp b/src/servers/app/drawing/Painter/Painter.cpp index b3c1361d54..3c27421547 100644 --- a/src/servers/app/drawing/Painter/Painter.cpp +++ b/src/servers/app/drawing/Painter/Painter.cpp @@ -1420,13 +1420,6 @@ Painter::_DrawBitmap(agg::rendering_buffer& srcBuffer, color_space format, &temp); break; - case B_CMAP8: - _TransparentMagicToAlpha((uint8 *)srcBuffer.buf(), - srcBuffer.width(), srcBuffer.height(), - srcBuffer.stride(), B_TRANSPARENT_MAGIC_CMAP8, - &temp); - break; - default: break; }