This is both a narrow question about some code and a more general question about syntax in Python

Using the Pygame modules, I want to set both FULLSCREEN and DOUBLEBUF

I can use
screen = pygame.display.set_mode((screen_width,screen_height),pygame.FULLSCREEN)
to set a FULLSCREEN display

Or, I can use
screen = pygame.display.set_mode((screen_width,screen_height),pygame.DOUBLEBUF)
to set DOUBLEBUF

But how do I set both FULLSCREEN and DOUBLEBUF?

And, how can I test or check that DOUBLEBUF is set?

--
Paul St George
http://www.paulstgeorge.com
http://www.devices-of-wonder.com

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to