Show More
@@ -391,16 +391,16 b' class InputHookManager(object):' | |||
|
391 | 391 | argNames=(), |
|
392 | 392 | ) |
|
393 | 393 | except AttributeError: |
|
394 |
raise RuntimeError |
|
|
395 |
'Your glut implementation does not allow interactive sessions' |
|
|
396 | 'Consider installing freeglut.' | |
|
394 | raise RuntimeError( | |
|
395 | '''Your glut implementation does not allow interactive sessions''' | |
|
396 | '''Consider installing freeglut.''') | |
|
397 | 397 | glutMainLoopEvent = glutCheckLoop |
|
398 | 398 | elif glut.HAVE_FREEGLUT: |
|
399 | 399 | glutMainLoopEvent = glut.glutMainLoopEvent |
|
400 | 400 | else: |
|
401 |
raise RuntimeError |
|
|
402 |
'Your glut implementation does not allow interactive sessions. ' |
|
|
403 | 'Consider installing freeglut.' | |
|
401 | raise RuntimeError( | |
|
402 | '''Your glut implementation does not allow interactive sessions. ''' | |
|
403 | '''Consider installing freeglut.''') | |
|
404 | 404 | |
|
405 | 405 | def inputhook_glut(): |
|
406 | 406 | """ Process pending GLUT events only. """ |
General Comments 0
You need to be logged in to leave comments.
Login now