So, because I'm a gluten for punishment, I decided to re-visit a few things I have on my list of "can this be done yet" and I came to Cross Platform OpenGL without using GLUT, SDL, or something else for Windowed and Fullscreen environments.

I've read the posts, I've searched the web, I've checked and re-checked the books... And fact is, I can't find an answer.

So, my question is, does anyone have a VERY basic example of how to do an OpenGL app in FPC or Lazarus that will work in Windows, Linux, and MAC that ONLY uses the GL and GLU units that ship with FreePascal?

If not, how close can you come? Lots of examples using the Windows unit, but that breaks Linux, examples for Linux using GLUT but that doesn't install so well on MAC, etc etc etc...

- Jeremy