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/game.cpp

    r113 r115  
    897897      else
    898898        screen->clear(wm->black());
     899      screen->lock();
    899900      for(y = y1, draw_y = yo; y <= y2; y++, draw_y += yinc)
    900901      {
     
    921922    }
    922923      }
     924      screen->unlock();
    923925
    924926      if(dev & EDIT_MODE)
Note: See TracChangeset for help on using the changeset viewer.