Ignore:
Timestamp:
May 13, 2011, 9:13:53 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor Event and EventHandler?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/light.cpp

    r579 r643  
    794794  light_patch *f=first;
    795795
    796   screen->Lock();
    797 
    798   int scr_w=screen->Size().x;
    799   uint8_t *screen_line=screen->scan_line(cy1)+cx1;
     796  main_screen->Lock();
     797
     798  int scr_w=main_screen->Size().x;
     799  uint8_t *screen_line=main_screen->scan_line(cy1)+cx1;
    800800
    801801  for (int y = cy1; y < cy2; )
     
    887887    screen_line-=prefix;
    888888  }
    889   screen->Unlock();
     889  main_screen->Unlock();
    890890
    891891  while (first)
Note: See TracChangeset for help on using the changeset viewer.