I am new to OpenGl. I am currently writing a simple program with one object that rotates about the z axis. I have used the idle function and placed in there the angle change each time. My problem is that my program executes fine on an ipaq until I try to exit the program using either the keypad or the screen. The program would just freeze.
In another posting, I notice that someone had found problems executing some examples which caused the program to crash too. Their suggests is not use the ug.h library. Since I am new at this, I don't know how to rewrite the ug.h library. I was wondering is there another way to fix this problem. Do I have to rewrite ug.h and how?
Thanks in advance.