[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame.image error: Surface has no palette to get



After the recent upgrade of the sdl library, I get the following
error :


>>> import pygame
>>> img = pygame.image.load('/usr/share/solarwolf/data/fire.png')
>>> pal = img.get_palette()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
error: Surface has no palette to get

Solarwolf is no longer playable because of this.