[PyOpenGL-Users] Exiting immidialty on errors
Brought to you by:
mcfletch
From: David <mp...@ch...> - 2002-05-27 12:10:21
|
If an error occurs in the display function my python opengl demos python doesn't halt and give me an error, instead it gives me an error but calls the display function again and again and again. If you have glPushMatrix():es in your code this means you will get a xterm full of "stack overflow" errors instead of the actual error that is causing the problem. So how can i make python halt immidiatly when there has been an error in any of the callbacks? |