WindowProperties

Hellow,

Im trying to set some variables in WindowProperties to let the game runn in fullscreen. I’ve set them with this code:"

wp = WindowProperties()
wp.setFullscreen(True)
base.win.requestProperties(wp)
props = base.win.getProperties()
props.setFullscreen(True)
props.setTitle('Solar058')
props.setOrigin(0,0)
props.setUndecorated(True)
props.setSize(1280, 1024)
print str(props)

It sets the properties but it doesnt output them… meaning, the screen doesnt switch to fullscreen…

Some help is appreciated!!!

GReetz Z

discourse.panda3d.org/viewtopic.php?t=2848