While porting pygame to 1.9.x, I noticed that the screen did not update as often as it should be. No problem with old 1.4.5 and estlib. The cause of the issue seems to be that floats do not work when passed as a parameter. The screen update works OK on the emulator but not on my E51.
There seems to be a couple of float related bugs open in the bug tracker too.
A simple test:
Code:
def test_float(value):
print 1.9 + value
test_float(0.1)
test_float(0.2)
test_float(0.4)
test_float(0.5)
test_float(1.0)
In all, except the last one, the printed value is 1.0. If this would be a formatting issue, the value would be at least 2.0 in all cases. Happens on device, simulator seems to work ok.
Tracker entry