windows fullscreen fix, if anyone wants it
theGREENzebra
tgz at orotech.net
Sun Apr 16 15:18:32 EDT 2006
15:14 < Kousu> Huzzah
15:14 < Kousu> I have a fix for the fullscreen problem on windows
( from http://pastebin.com/663600 )
You say that fullscreen doesn't work in windows. This code come sfrom
Eyal Lotem and Yair Chuchem and it makes it work in windows:
def toggle_fullscreen():
global is_fullscreen, display
is_fullscreen = not is_fullscreen
pygame.display.quit()
if is_fullscreen:
flags = pygame.FULLSCREEN
else:
flags = 0
display = pygame.display.set_mode(resolution, flags)
is_fullscreen = True
toggle_fullscreen()
--
* http://clickass.org * ICQ# 1107012 * AIM/Yahoo: theGREENzebra *
-----GEEK CODE 3.12-----
GCM/CS/IT/MU d? s: a24 C++++ UL++++ P+ L+++>$ E---- W++ N+ o K- w---$ O- M
V-- PS+ PE Y+ PGP- t++(+++) 5- X R tv(+) b+(-) DI+++ D+ G++ e h++ r+(---) y+
UF*++
More information about the pyddr-devel
mailing list