Python 3d_viewer: init glut manually for windows ( https://github.com/assimp/assimp/issues/622 ).

pull/629/head
Kim Kulling 2015-08-08 17:05:29 +02:00
parent 85c8d7b89b
commit e5b61e5553
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class PyAssimp3DViewer:
pygame.init()
pygame.display.set_caption(self.base_name)
pygame.display.set_mode((w,h), pygame.OPENGL | pygame.DOUBLEBUF)
glutInit()
self.prepare_shaders()
self.cameras = [DefaultCamera(w,h,fov)]