Ignore:
Timestamp:
Mar 16, 2008, 10:51:54 PM (11 years ago)
Author:
Sam Hocevar
Message:
  • Add lock() and unlock() methods to jimage objects. They're no-ops, but the Win32/DirectX version uses them all over the place because it uses DirectDraw? surfaces. One day we may wish to merge Abuse Win32's video output, or to use the SDL blending functions. You never know.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/scroller.cpp

    r112 r115  
    5959  remap[2]=wm->dark_color();
    6060
     61  screen->lock();
    6162  for (int yc=ich;yc;yc--,y++)
    6263  {
     
    7273  }
    7374  screen->add_dirty(x,y,x+icw-1,y+ich-1);
     75  screen->unlock();
    7476}
    7577
Note: See TracChangeset for help on using the changeset viewer.