25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_fb.c,v 1.128 2006/12/30 13:30:57 debug Exp $ |
* $Id: dev_fb.c,v 1.129 2007/04/28 09:19:51 debug Exp $ |
29 |
* |
* |
30 |
* Generic framebuffer device. |
* Generic framebuffer device. |
31 |
* |
* |
268 |
d->framebuffer + dest_ofs; |
d->framebuffer + dest_ofs; |
269 |
|
|
270 |
if (d->bit_depth == 24) { |
if (d->bit_depth == 24) { |
271 |
for (x=0; x<linelen && x<sizeof(buf); |
for (x=0; x<linelen && x < |
272 |
x += 3) { |
(int) sizeof(buf); x += 3) { |
273 |
buf[x] = fill_r; |
buf[x] = fill_r; |
274 |
buf[x+1] = fill_g; |
buf[x+1] = fill_g; |
275 |
buf[x+2] = fill_b; |
buf[x+2] = fill_b; |