Created
May 6, 2014 07:20
-
-
Save lindemann09/f1e24708a35689c1cba1 to your computer and use it in GitHub Desktop.
pygame full screen test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
pygame.display.init() | |
screen_size = (pygame.display.Info().current_w, | |
pygame.display.Info().current_h) | |
pygame.display.set_mode(screen_size, | |
pygame.DOUBLEBUF | pygame.OPENGL | pygame.FULLSCREEN) | |
pygame.time.wait(2000) | |
pygame.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment