File: test_glu_crash_under_pygame.py

package info (click to toggle)
pyopengl 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,184 kB
  • ctags: 21,473
  • sloc: python: 80,468; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
if __name__ == "__main__":
    import pygame
    pygame.init()
    screen = pygame.display.set_mode([800, 600], pygame.OPENGL | pygame.DOUBLEBUF)
    from OpenGL.GL import *
    from OpenGL.GLU import *