[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Error setting cooperative level?
> Curtiss Howard wrote:
> > Is anyone familiar with this error? I have a program that runs
> > fullscreen and spawns a copy of some other program wanting the
> > display (in this case, MAME). Of course, this doesn't work as the
> > error message "Error setting cooperative level" is displayed along
> > with a register dump. Running in a window gets rid of this problem,
> > as does calling pygame.display.quit() before spawning the program and
> > creating a new display upon its termination, but neither of these
> > solutions are optimal in my view. Any ideas?
>
> this sounds like a directx error, when one app goes for the fullscreen,
> it doesn't share it with any other apps. if you are on windows, i'd
> recommend this
>
> os.environ['SDL_VIDEO_DRIVER']='windib'
>
Indeed, I am using Windows. This sounds like a pretty good solution to the problem (though I'm sure performance will suffer; shouldn't be a problem in my case since nothing heavy is being done). Thanks!
Curtiss Howard
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org