1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Revokes 'synchronous' as a function of onlyIfDirty, as it doesn't allow for double buffering.

This commit is contained in:
Thomas Harte 2018-11-20 22:00:40 -05:00
parent 38ffc4fdb3
commit 817aa186c2

View File

@ -244,7 +244,7 @@ struct ActivityObserver: public Activity::Observer {
}
- (void)drawViewForPixelSize:(CGSize)pixelSize onlyIfDirty:(BOOL)onlyIfDirty {
_scanTarget->draw(onlyIfDirty ? false : true, (int)pixelSize.width, (int)pixelSize.height);
_scanTarget->draw(true, (int)pixelSize.width, (int)pixelSize.height);
// _machine->crt_machine()->get_crt()->draw_frame((unsigned int)pixelSize.width, (unsigned int)pixelSize.height, onlyIfDirty ? true : false);
}