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

Re: [pygame] Surface lost errors





On 12/23/06, Farai Aschwanden <fash@xxxxxxxxxx> wrote:
Hi Sparkes

Many people are invovled in compiling/creating documents for Pygame 1.8 right now (next to Xmas(s)). Thats why you probably dont get many answers yet. 

it would be easier if the release candidates where linked to the webpage and others could help but that's another matter :)

About your problem: Based on your code its hard to say what the error is producing. It could also come from the load_bg routine. F.e. the routine is returning anything else but not a routine. If you could list that as well....  The pic isnt lost between the sections, IF its there.

there is only one surface lost error ;) it comes from  def _surface_blit in surface.py when SDL_BlitSurface returns -2

load_bg is just a wrapper for pygame.image.load('data/bg.png').convert(16, HARDWARE) the question is how does the surface get lost between doing this and blitting on ajacent lines when python is in full control of the video memory at the time.
 

What Pygame version you are working?

The current stable and python2.4 windows binary versions
 

Mery Xmas to all

Farai





--
Steve 'sparkes' Parkes - tshirts http://nerd.ws - code http://zx-81.com