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

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

revision 821 by jdmeijer, Mon Feb 28 01:15:45 2005 UTC revision 823 by stargo, Mon Feb 28 23:30:00 2005 UTC
# Line 662  translate16to32(const uint16 * data, uin Line 662  translate16to32(const uint16 * data, uin
662                  }                  }
663                  else                  else
664                  {                  {
665                            while (out < end)
666                          {                          {
667                                  pixel = *(data++);                                  pixel = *(data++);
668                                  SPLITCOLOUR16(pixel, pc);                                  SPLITCOLOUR16(pixel, pc);
# Line 764  translate24to32(const uint8 * data, uint Line 765  translate24to32(const uint8 * data, uint
765          if (g_arch_match)          if (g_arch_match)
766          {          {
767                  /* *INDENT-OFF* */                  /* *INDENT-OFF* */
768    #ifdef NEED_ALIGN
769                  REPEAT4                  REPEAT4
770                  (                  (
 #ifdef NEED_ALIGN  
771                          *(out++) = *(data++);                          *(out++) = *(data++);
772                          *(out++) = *(data++);                          *(out++) = *(data++);
773                          *(out++) = *(data++);                          *(out++) = *(data++);
774                          *(out++) = 0;                          *(out++) = 0;
775                    )
776  #else  #else
777                    REPEAT4
778                    (
779                          *((uint32 *) out) = *((uint32 *) data);                          *((uint32 *) out) = *((uint32 *) data);
780                          out += 4;                          out += 4;
781                          data += 3;                          data += 3;
 #endif  
782                  )                  )
783    #endif
784                  /* *INDENT-ON* */                  /* *INDENT-ON* */
785          }          }
786          else if (g_xserver_be)          else if (g_xserver_be)

Legend:
Removed from v.821  
changed lines
  Added in v.823

  ViewVC Help
Powered by ViewVC 1.1.26