# HG changeset patch # User Paul Boddie # Date 1324230901 -3600 # Node ID 6d55dd10da35d44bff06745d6c3c48b0809da8fa # Parent 0a7583905a1f77aed1b74faebfc6e8314c8acd83 Fixed the width of the temporary surface. diff -r 0a7583905a1f -r 6d55dd10da35 main.py --- a/main.py Wed Dec 14 02:03:08 2011 +0100 +++ b/main.py Sun Dec 18 18:55:01 2011 +0100 @@ -18,7 +18,7 @@ containing the pixel content of the screen. """ - surface = pygame.Surface((WIDTH, MAX_HEIGHT), 0, screen) + surface = pygame.Surface((MAX_WIDTH, MAX_HEIGHT), 0, screen) a = pygame.surfarray.pixels3d(surface) # Copy the array to a surface and apply a pixel intensity.