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

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

revision 828 by stargo, Sun Mar 6 21:11:18 2005 UTC revision 830 by jdmeijer, Tue Mar 8 00:23:02 2005 UTC
# Line 688  process_raw_bmpcache(STREAM s) Line 688  process_raw_bmpcache(STREAM s)
688    
689          bitmap = ui_create_bitmap(width, height, inverted);          bitmap = ui_create_bitmap(width, height, inverted);
690          xfree(inverted);          xfree(inverted);
691          cache_put_bitmap(cache_id, cache_idx, bitmap, 0);          cache_put_bitmap(cache_id, cache_idx, bitmap);
692  }  }
693    
694  /* Process a bitmap cache order */  /* Process a bitmap cache order */
# Line 737  process_bmpcache(STREAM s) Line 737  process_bmpcache(STREAM s)
737          if (bitmap_decompress(bmpdata, width, height, data, size, Bpp))          if (bitmap_decompress(bmpdata, width, height, data, size, Bpp))
738          {          {
739                  bitmap = ui_create_bitmap(width, height, bmpdata);                  bitmap = ui_create_bitmap(width, height, bmpdata);
740                  cache_put_bitmap(cache_id, cache_idx, bitmap, 0);                  cache_put_bitmap(cache_id, cache_idx, bitmap);
741          }          }
742          else          else
743          {          {
# Line 814  process_bmpcache2(STREAM s, uint16 flags Line 814  process_bmpcache2(STREAM s, uint16 flags
814    
815          if (bitmap)          if (bitmap)
816          {          {
817                  cache_put_bitmap(cache_id, cache_idx, bitmap, 0);                  cache_put_bitmap(cache_id, cache_idx, bitmap);
818                  if (flags & PERSIST)                  if (flags & PERSIST)
819                          pstcache_put_bitmap(cache_id, cache_idx, bitmap_id, width, height,                          pstcache_save_bitmap(cache_id, cache_idx, bitmap_id, width, height,
820                                              width * height * Bpp, bmpdata);                                               width * height * Bpp, bmpdata);
821          }          }
822          else          else
823          {          {

Legend:
Removed from v.828  
changed lines
  Added in v.830

  ViewVC Help
Powered by ViewVC 1.1.26