Rev 4377 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4377 | Rev 4692 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | unsigned int sy, unsigned int maxwidth, unsigned int maxheight, |
87 | unsigned int sy, unsigned int maxwidth, unsigned int maxheight, |
88 | putpixel_cb_t putpixel, void *vport) |
88 | putpixel_cb_t putpixel, void *vport) |
89 | { |
89 | { |
90 | unsigned int width, height; |
90 | unsigned int width, height; |
91 | unsigned int maxcolor; |
91 | unsigned int maxcolor; |
92 | int i; |
92 | unsigned int i; |
93 | unsigned int color; |
93 | unsigned int color; |
94 | unsigned int coef; |
94 | unsigned int coef; |
95 | 95 | ||
96 | /* Read magic */ |
96 | /* Read magic */ |
97 | if ((data[0] != 'P') || (data[1] != '6')) |
97 | if ((data[0] != 'P') || (data[1] != '6')) |