data = numpy.random.random_integers(low=0, high=1, size=(dimensions[0] *
    dimensions[1], format_size))
data *= 255
data[:, 1:-1] = 0
data[:, (3)] = 255
data.shape = -1
numpy array is shown incorrect with pyglet