comp.lang.ada
 help / color / mirror / Atom feed
From: d96knut@dtek.chalmers.se (Knut Wannheden)
Subject: problems with GLUT
Date: 1998/11/06
Date: 1998-11-06T00:00:00+00:00	[thread overview]
Message-ID: <71vesd$evd$1@nyheter.chalmers.se> (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




             reply	other threads:[~1998-11-06  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-06  0:00 Knut Wannheden [this message]
1998-11-07  0:00 ` problems with GLUT Jerry van Dijk
replies disabled

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