Minecraft icon indicating copy to clipboard operation
Minecraft copied to clipboard

Display Glitch

Open trickypr opened this issue 7 years ago • 4 comments
trafficstars

When I launch the game it only takes up a quarter of the given window. If you try to resize it crashes. I am running MacOS 10.13.2, Python 3.6.4 and pyglet 1.3.0. Game Image Terminal output (after crash) My mac is plenty powerful enough.

trickypr avatar Jan 14 '18 05:01 trickypr

Hi! I think you should report this to pyglet's bugtracker, this does not seem to be directly related to this repo's code.

progval avatar Jan 14 '18 08:01 progval

Thanks, I will do that!

trickypr avatar Jan 15 '18 04:01 trickypr

I am reopening this issue due to the response from pyglet saying that it is the game's code. It is due to Retina Display Scaling on OS X. Apparently, this code is responsible for it:

glViewport(0, 0, width, height)

They are working on a patch in this issue.

As for the resizing issue, they don't know. My issue is available here.

I hope this is helpful!

trickypr avatar Jan 17 '18 05:01 trickypr

I have submitted a pull request that resolves the issue. Pull #94

OneSharpAce avatar Feb 16 '19 23:02 OneSharpAce