comp.lang.ada
 help / color / mirror / Atom feed
* problems with GLUT
@ 1998-11-06  0:00 Knut Wannheden
  1998-11-07  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: Knut Wannheden @ 1998-11-06  0:00 UTC (permalink / raw)



-- 
I have problems with GLUT and the menu callback function. I have written a program with ObjectAda 7.1.1 and GLUT 3.6. For some reason the program always crashes when I select an entry in a pop-up menu that I have added to the program's window.
There seems to be something strange with the menu callback function; I register the callback with glutCreateMenu(). The callback function is supposed to take one argument (Integer). If I register a callback function that takes no arguments then the program doesn't crash. Of course I'd want to do something with the argument ;)
Has anyone else experienced similar problems before?

Knut Wannheden




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-07  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-06  0:00 problems with GLUT Knut Wannheden
1998-11-07  0:00 ` Jerry van Dijk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox