/[gxemul]/trunk/src/devices/dev_fb.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_fb.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 39 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 40 by dpavlin, Mon Oct 8 16:22:11 2007 UTC
# Line 25  Line 25 
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   *   *
# Line 268  void framebuffer_blockcopyfill(struct vf Line 268  void framebuffer_blockcopyfill(struct vf
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;

Legend:
Removed from v.39  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26