however, don't need read_rgb and read_rgba

This commit is contained in:
Bill Currie 2003-03-20 21:25:56 +00:00
parent 4222c501a0
commit abdb21eadc

View file

@ -120,27 +120,6 @@ read_bgra (byte *buf, int count, byte **data)
return blit_rgba (buf, count, red, green, blue, alpha);
}
static inline byte *
read_rgb (byte *buf, int count, byte **data)
{
byte red = *(*data)++;
byte green = *(*data)++;
byte blue = *(*data)++;
return blit_rgb (buf, count, red, green, blue);
}
static inline byte *
read_rgba (byte *buf, int count, byte **data)
{
byte red = *(*data)++;
byte green = *(*data)++;
byte blue = *(*data)++;
byte alpha = *(*data)++;
return blit_rgba (buf, count, red, green, blue, alpha);
}
static inline byte *
reverse_read_bgr (byte *buf, int count, byte **data)
{