search for: rgb_to_pixel15

Displaying 1 result from an estimated 1 matches for "rgb_to_pixel15".

Did you mean: rgb_to_pixel16
2009 Mar 02
0
[PATCH 3 of 13] remove bgr
...cx.c +++ b/hw/tcx.c @@ -61,22 +61,13 @@ static void update_palette_entries(TCXState *s, int start, int end) s->palette[i] = rgb_to_pixel8(s->r[i], s->g[i], s->b[i]); break; case 15: - if (s->ds->bgr) - s->palette[i] = rgb_to_pixel15bgr(s->r[i], s->g[i], s->b[i]); - else - s->palette[i] = rgb_to_pixel15(s->r[i], s->g[i], s->b[i]); + s->palette[i] = rgb_to_pixel15(s->r[i], s->g[i], s->b[i]); break; case 16: - if (s->ds->b...