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

[pygame] Re: full screen



I was wondering if anybody knew how to convert to fullscreen mode. I've already tried the pygame.display.toggle_fullscreen, but that doesn't work on either Windows ME or XP. Is there any other way to toggle to fullscreen?
Right, The toggle fullscreen function is an SDL thing that really only works in linux. The "best" way to go from windowed to fullscreen is to call pygame.display.set_mode() a second time. this time include the FULLSCREEN flag in the last argument and pygame will switch to a fullscreen display.