/[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 644 by jsorg71, Thu Mar 25 22:58:45 2004 UTC revision 645 by jsorg71, Mon Mar 29 13:59:03 2004 UTC
# Line 605  translate_image(int width, int height, u Line 605  translate_image(int width, int height, u
605          /* if server and xserver bpp match, */          /* if server and xserver bpp match, */
606          /* and arch(endian) matches, no need to translate */          /* and arch(endian) matches, no need to translate */
607          /* just return data */          /* just return data */
608          if (g_depth > 8)          if (g_arch_match)
609                  if (g_arch_match)          {
610                          if (g_depth == g_server_bpp)                  if (g_depth == 15 && g_server_bpp == 15)
611                                  return data;                          return data;
612                    if (g_depth == 16 && g_server_bpp == 16)
613                            return data;
614            }
615    
616          size = width * height * (g_bpp / 8);          size = width * height * (g_bpp / 8);
617          out = (uint8 *) xmalloc(size);          out = (uint8 *) xmalloc(size);

Legend:
Removed from v.644  
changed lines
  Added in v.645

  ViewVC Help
Powered by ViewVC 1.1.26