Issue #121 open

Examples/scaletest.py speed test fails on Python 3

cgohlke
created an issue

{{{ python32 scaletest.py data\arraydemo.bmp -t Smoothscale Speed Test - Image Size (200, 128)

Traceback (most recent call last): File "scaletest.py", line 121, in <module> run_speed_test = '-t' in sys.argv) File "scaletest.py", line 26, in main SpeedTest(background) File "scaletest.py", line 78, in SpeedTest tempimg = pygame.transform.smoothscale(image, (shrinkx, shrinky)) TypeError: integer argument expected, got float }}} A patch is attached.

Comments (5)

  1. Log in to comment