[pygame] pygame.error: Cannot set 0 sized display mode

2012-10-14 Thread Peter Chant
Hello, I have a python application that I have written with pygame that used to work fine. However, on upgrading to slackware 14 I get the following error: pygame.error: Cannot set 0 sized display mode Slackware uses SDL 1.2.14 - so I cannot see why I am getting that error. The offending

Re: [pygame] pygame.error: Cannot set 0 sized display mode

2012-10-14 Thread Al Sweigart
hey Pete, It might be a change for with a different version of Pygame. I never thought that passing (0, 0) for the resolution would work. I suppose before it was using a default resolution for you. (Though the fullscreen mode stretches the display sometimes, if you give it a small resolution. I'm

Re: [pygame] OSX 10.7/10.8 Regression

2012-10-14 Thread Ryan Hope
I've converted my app to do dirty rect animation and it still super slow on MacOS 10.7/10.8. When I profile my code, pygame.display.update take ~20ms per call on 10.7/10.8, on my 10.6 system which has slower CPU and GPU pygame.display.update takes 0.01ms per call. What gives? Am I the only one