Comment 1 for bug 1336214

Revision history for this message
Andrew Kay (music1) wrote :

sorry. error copying steps to reproduce. Should have been

$ python
>>> import numpy
>>> import pygame
>>> a = numpy.zeros((10,20,3), numpy.uint8)
>>> pygame.surfarray.make_surface(a)

output:
    IndexError: bytes to write exceed buffer size
expected:
    <Surface(10x20x32) SW)>

Further testing shows it works on a fresh install of Mint.
Failing on Kubuntu 14.04 LTS
Working on Xubuntu 12.04.4 LTS