Hi all,
To try and track down the gluUnproject issue I am having, I have whipped up a minimal SDL Lazarus project that is available for download here (approximately 700Kb):

http://abalonegl.eonclash.com/gluunproject_test.zip

If someone could find the time to download and try the file it would be excellent. This issue is driving me nuts!!

After downloading the zip file, build it in Lazarus (under windows), run it and see if the problem happens.

When run, a SDL window opens up.

Escape will close the program.
Right-click in the window will attempt to call the gluUnproject routine via the ScreenToWorld() function and it should crash...

If someone could help it would be great!

Thanks

cheers,
Paul.