[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] PyGlyph
Alex Holkner wrote:
I'm guessing this is a Windows problem in which the GL context is
destroyed when the window resizes; I've only tested under Linux. If
someone does need a resizable window, they should reload fonts after
resizing on Windows.
Seems to work.
You're setting glOrtho for a window size of 400x300, but the window size
is 640x480. On my computer this simply made it blurry, but I imagine
it's also causing your artifacts too. Change resoltion=(300,400) to
resolution=SCREEN_SIZE to fix.
This change doesn't have any obvious effect for me.
Kris