/[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 828 by stargo, Sun Mar 6 21:11:18 2005 UTC
# Line 1  Line 1 
1  /* -*- c-basic-offset: 8 -*-  /* -*- c-basic-offset: 8 -*-
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     User interface services - X Window System     User interface services - X Window System
4     Copyright (C) Matthew Chapman 1999-2002     Copyright (C) Matthew Chapman 1999-2005
5    
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# 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.828

  ViewVC Help
Powered by ViewVC 1.1.26