On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > import os > os.environ["SDL_VIDEO_CENTERED"] = "1" > ## Then create the screen; it should be centered automatically. I used that for a while, but on Vista with Python 2.5, it doesn't work. Anyone know why? 2.4 worked... > But then, this is without testing and I forgot a line in that screenshot > code! > screenshot.blit(screen,(0,0)) If you're referring to my problem, one cannot blit to OpenGL surfaces, so it's OK.
- [pygame] screen position in middle of desk / icon with alp... Boer Kees
- Re: [pygame] screen position in middle of desk / icon... kschnee
- Re: [pygame] screen position in middle of desk / ... Ian Mallett
- [pygame] centered screen position using SDL_VIDEO... Boer Kees
- Re: [pygame] centered screen position using S... John Popplewell
