[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] windows screen saver in pygame?
Syver Enstad <syver-en@online.no> writes:
> Syver Enstad <syver-en@online.no> writes:
>
> > Pete Shinners <pete@shinners.org> writes:
>
> Here's the culprit:
> > > os.environ['SDL_VIDEO_DRIVER'] = 'windib'
> Should be SDL_VIDEODRIVER
>
> I found out at:
> http://sdldoc.csn.ul.ie/sdlenvvars.php
It works, it works. I now have the preview working. I had to be
careful to not only do 'pygame.init()' after the os.environ calls but
also do 'import pygame' after calling os.environ.
--
Vennlig hilsen
Syver Enstad