<p><b>@ronsaldo</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306#discussion_r257729663">platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m</a>:</p>
<pre style='color:#555'>> + // Alawys try to fill the texture with the pixels.
+ if ( fullScreendispBitsIndex ) {
+ [self loadTexturesFrom: fullScreendispBitsIndex subRectangle: (clippyIsEmpty ? rect : NSRectFromCGRect(clippy))];
+ //[self loadTexturesFrom: fullScreendispBitsIndex subRectangle: rect];
+ clippyIsEmpty = YES;
+ syncNeeded = NO;
+ }
+
+ MTLRenderPassDescriptor *renderPassDescriptor = self.currentRenderPassDescriptor;
+ if(renderPassDescriptor != nil && self.currentDrawable)
+ {
+ currentCommandBuffer = [graphicsCommandQueue commandBuffer];
+ currentRenderEncoder = [currentCommandBuffer renderCommandEncoderWithDescriptor: renderPassDescriptor];
+
+ // Set the viewport.
+ [currentRenderEncoder setViewport: (MTLViewport){0.0, 0.0, lastFrameSize.size.width, lastFrameSize.size.height}];
</pre>
<p>Hi, sorry for taking too long. I was completely busy with my job. I just changed the code to use the size from the drawableSurface property, instead of the size of the window. Can you check whether this fixes the issue or not?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306#discussion_r257729663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyW2PLeZMTrlcfMWL7UZKDVYR-aZt4ks5vOsDAgaJpZM4YYXFc">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyW0bxBcYEqPGpFoqHKkLlMoKgRgYmks5vOsDAgaJpZM4YYXFc.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenSmalltalk/opensmalltalk-vm","title":"OpenSmalltalk/opensmalltalk-vm","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ronsaldo commented on #306"}],"action":{"name":"View Pull Request","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306#discussion_r257729663"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306#discussion_r257729663",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306#discussion_r257729663",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>