/[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 1222 by ossman_, Tue Mar 28 13:56:08 2006 UTC revision 1223 by astrand, Sun Apr 9 20:11:42 2006 UTC
# Line 1344  select_visual() Line 1344  select_visual()
1344                  for (i = 0; i < visuals_count; ++i)                  for (i = 0; i < visuals_count; ++i)
1345                  {                  {
1346                          XVisualInfo *visual_info = &vmatches[i];                          XVisualInfo *visual_info = &vmatches[i];
1347                            BOOL can_translate_to_bpp = False;
1348                            int j;
1349    
1350                          /* Try to find a no-translation visual that'll                          /* Try to find a no-translation visual that'll
1351                             allow us to use RDP bitmaps directly as ZPixmaps. */                             allow us to use RDP bitmaps directly as ZPixmaps. */
# Line 1387  select_visual() Line 1389  select_visual()
1389    
1390                          /* Only care for visuals, for whose BPPs (not depths!)                          /* Only care for visuals, for whose BPPs (not depths!)
1391                             we have a translateXtoY function. */                             we have a translateXtoY function. */
                         BOOL can_translate_to_bpp = False;  
                         int j;  
1392                          for (j = 0; j < pixmap_formats_count; ++j)                          for (j = 0; j < pixmap_formats_count; ++j)
1393                          {                          {
1394                                  if (pfm[j].depth == visual_info->depth)                                  if (pfm[j].depth == visual_info->depth)

Legend:
Removed from v.1222  
changed lines
  Added in v.1223

  ViewVC Help
Powered by ViewVC 1.1.26