}
}
-int TightPalette::insert(rdr::U32 rgb, int numPixels, int bpp)
+int TightPalette::insert(rdr::U32 rgb, int numPixels)
{
TightColorList *pnode;
TightColorList *prev_pnode = NULL;
// reports zero colors and cannot be used any more without calling
// reset().
//
- int insert(rdr::U32 rgb, int numPixels, int bpp);
+ int insert(rdr::U32 rgb, int numPixels);
//
// Return number of colors in the palette.
*colorsPtr++ = color;
*coordsPtr++ = 0;
*coordsPtr++ = (rdr::U8)(((m_width - 1) << 4) | ((y - 1) & 0x0F));
- m_pal.insert(color, 1, BPP);
+ m_pal.insert(color, 1);
m_numSubrects++;
}
*coordsPtr++ = (rdr::U8)((x << 4) | (y & 0x0F));
*coordsPtr++ = (rdr::U8)(((sw - 1) << 4) | ((sh - 1) & 0x0F));
- if (m_pal.insert(color, 1, BPP) == 0) {
+ if (m_pal.insert(color, 1) == 0) {
// Handle palette overflow
m_flags = hextileRaw;
m_size = 0;