/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/xwin.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 /sourceforge.net/branches/seamlessrdp-branch/rdesktop/xwin.c

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

revision 342 by astrand, Fri Mar 14 12:00:17 2003 UTC revision 368 by matthewc, Wed Apr 16 13:48:17 2003 UTC
# Line 402  translate24to32(uint8 * data, uint32 * o Line 402  translate24to32(uint8 * data, uint32 * o
402          uint32 pixel = 0;          uint32 pixel = 0;
403          while (out < end)          while (out < end)
404          {          {
405                  memcpy(&pixel, data, 3);                  pixel = *(data++);
406                  data += 3;                  pixel |= *(data++) << 8;
407                    pixel |= *(data++) << 16;
408                  *(out++) = pixel;                  *(out++) = pixel;
409          }          }
410  }  }

Legend:
Removed from v.342  
changed lines
  Added in v.368

  ViewVC Help
Powered by ViewVC 1.1.26