Named window

This commit is contained in:
Thomas FORGIONE 2016-11-29 15:42:21 +01:00
parent 1443ea35ba
commit 1d6b57ceee
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def main(args):
pg.init() pg.init()
display = (WINDOW_WIDTH, WINDOW_HEIGHT) display = (WINDOW_WIDTH, WINDOW_HEIGHT)
pg.display.set_mode(display, pgl.DOUBLEBUF | pgl.OPENGL) pg.display.set_mode(display, pgl.DOUBLEBUF | pgl.OPENGL)
pg.display.set_caption('Model-Converter')
# OpenGL init # OpenGL init
gl.glMatrixMode(gl.GL_PROJECTION) gl.glMatrixMode(gl.GL_PROJECTION)