<div dir="ltr">This hack avoids entering an unusable state. OTOH it makes debugging it more difficult. What to do?<div><br></div><div>- Bert -<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 10:01 PM,  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bert Freudenberg uploaded a new version of Graphics to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Graphics-bf.365.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Graphics-bf.365.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Graphics-bf.365<br>
Author: bf<br>
Time: 13 September 2016, 10:01:12.119134 pm<br>
UUID: 184228fa-4e38-472a-8e51-<wbr>1cd86ff433f4<br>
Ancestors: Graphics-tfel.364<br>
<br>
Work around Mac VM bug: use 32 bpp<br>
<br>
=============== Diff against Graphics-tfel.364 ===============<br>
<br>
Item was added:<br>
+ ----- Method: DisplayScreen&gt;&gt;<wbr>primSupportsDisplayDepth: (in category &#39;other&#39;) -----<br>
+ primSupportsDisplayDepth: pixelDepth<br>
+       &quot;Return true if this pixel depth is supported on the current host platform.<br>
+       Primitive. Optional.&quot;<br>
+       &lt;primitive: 91&gt;<br>
+       ^#(1 2 4 8 16 32) includes: pixelDepth!<br>
<br>
Item was changed:<br>
  ----- Method: DisplayScreen&gt;&gt;<wbr>supportsDisplayDepth: (in category &#39;other&#39;) -----<br>
  supportsDisplayDepth: pixelDepth<br>
+       &quot;Return true if this pixel depth is supported on the current host platform.&quot;<br>
+       Smalltalk platformName = &#39;Mac OS&#39; ifTrue: [^pixelDepth abs = 32]. &quot;Work around VM bug&quot;<br>
+       ^self primSupportsDisplayDepth: pixelDepth!<br>
-       &quot;Return true if this pixel depth is supported on the current host platform.<br>
-       Primitive. Optional.&quot;<br>
-       &lt;primitive: 91&gt;<br>
-       ^#(1 2 4 8 16 32) includes: pixelDepth!<br>
<br>
<br>
</blockquote></div><br></div></div></div>