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
sorry. error copying steps to reproduce. Should have been
$ python (10,20, 3), numpy.uint8) surfarray. make_surface( a)
>>> import numpy
>>> import pygame
>>> a = numpy.zeros(
>>> pygame.
output: 10x20x32) SW)>
IndexError: bytes to write exceed buffer size
expected:
<Surface(
Further testing shows it works on a fresh install of Mint.
Failing on Kubuntu 14.04 LTS
Working on Xubuntu 12.04.4 LTS