1. Re: OpenGl again.
- Posted by Paul Martin <twilight at WCC.NET> Jun 12, 1999
- 384 views
Hello all Well this is very encouraging that someone has picked up the conversation on OpenGl again. I really was never able to find the root cause of the problem, I ported another demo and got different set of errors, usually locking the computer up. If you need anything, don't hesitate to ask. I would like to see a Euphoria version of OpenGL. Thanks Paul Martin At 07:23 PM 6/10/99 -0400, Chris Hickman wrote: >[To Paul] >I downloaded a copy of your OpenGL wrapper today and tried to find >the problem. The crash seems to occur upon returning from the >Display() function which is used as a callback. I noticed from >Cube.c that Display(), Reshape(), and Keyboard() are all of the >type VOID meaning that Glut isn't expecting a return value. >The insistance by call_dll() that *function* must be called and >for it to return a value might be causing the stack to become >corrupted. That could cause the program to jump to a bad address >when a machine code RET pops one off the stack, causing the >"Invalid Instruction" error. > >[To Rob] >What do you think? Am I way off here? If not, any chance of a >fix? > >Thanks, >Christopher D. Hickman > >