[squeak-dev] The Trunk: Graphics-mt.516.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu May 12 13:07:25 UTC 2022
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.516.mcz
==================== Summary ====================
Name: Graphics-mt.516
Author: mt
Time: 12 May 2022, 3:07:20.219892 pm
UUID: 287f8878-a8da-b44d-bd09-07e4c06f3cec
Ancestors: Graphics-mt.515
Fixes MVC drawing issue on platforms with graphics backends that let primitive 126 fail, which was always be possible but only reality on the latest OSVM on macOS using -metal or -core-graphics backends.
Sigh. Come on. Backwards compatibility. I will port this fix back to Squeak 5.3.
=============== Diff against Graphics-mt.515 ===============
Item was changed:
----- Method: DisplayScreen>>deferUpdatesIn:while: (in category 'other') -----
deferUpdatesIn: aRectangle while: aBlock
| result |
+ ((self deferUpdates: true) ifNil: [true]) ifTrue: [
+ "Outer call did set this already. Ignore here."
+ ^ aBlock value].
- (self deferUpdates: true) ifTrue: [^aBlock value].
result := aBlock value.
self deferUpdates: false.
self forceToScreen: aRectangle.
^result!
More information about the Squeak-dev
mailing list
|