comparison eclviewer.py @ 101:101abdc1a20b

Disable debug-level logging
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 00:30:09 +0200
parents 5c40cc1b8019
children c7847bfed427
comparison
equal deleted inserted replaced
100:5c40cc1b8019 101:101abdc1a20b
33 from OpenGL.GL import * 33 from OpenGL.GL import *
34 from OpenGL.GLU import * 34 from OpenGL.GLU import *
35 35
36 36
37 def main(path, stage_num): 37 def main(path, stage_num):
38 import logging
39 logging.basicConfig(level=logging.DEBUG)
40 # Initialize pygame 38 # Initialize pygame
41 pygame.init() 39 pygame.init()
42 window = pygame.display.set_mode((384, 448), pygame.OPENGL | pygame.DOUBLEBUF) 40 window = pygame.display.set_mode((384, 448), pygame.OPENGL | pygame.DOUBLEBUF)
43 41
44 # Initialize OpenGL 42 # Initialize OpenGL