Ticket #8176: usage-bits.diff

File usage-bits.diff, 597 bytes (added by eriktorbjorn, 22 years ago)

Patch against a February 19 CVS snapshot

  • scummvm/scumm/gfx.cpp

    diff -ur ScummVM/scummvm/scumm/gfx.cpp ScummVM+hack/scummvm/scumm/gfx.cpp
    old new  
    586586        // Remove the flash light first if it was previously drawn
    587587        if (_flashlightIsDrawn) {
    588588                updateDirtyRect(0, _flashlight.x, _flashlight.x + _flashlight.w,
    589                                    _flashlight.y, _flashlight.y + _flashlight.h, 0x80000000);
     589                                   _flashlight.y, _flashlight.y + _flashlight.h, USAGE_BIT_DIRTY);
    590590               
    591591                if (_flashlight.buffer) {
    592592                        i = _flashlight.h;