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:
parent
38ffc4fdb3
commit
817aa186c2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user