Hi,
It’s been a while since my last foray into OpenGL and have started working in Ada (yes that was my site on the news page ).
Anyway, I just downloaded and converted (by hand :rolleyes: ) the latest version of the GLext.h - not complete yet.
Now, I noticed a reference to spec files which are used to generate these files, and was wondering where I can get them. I know they were in the OpenGL SI, but I can’t find a link to it, and the last time I did find it, it hadn’t been updated in a while. Can somebody let me know what is happening with this?
Now onto something more Ada related…
I tried two ways of bringing in the CVA extension in Ada, and both seem to work, but I need to know if it will work across platforms (I work under Linux with GNAT from GCC-3.4.0).
The first way is to use GetProcAddress (I’m using SDL) and this works fine.
The second is to use Ada’s C importing pragma’s; this works, but I need to know if it will be portable. As far as I know, the lines:
procedure glUnlockArraysEXT;
pragma Import(C, glUnlockArraysEXT, “glUnlockArraysEXT”);
will declare the function as an external function and bring it in, it is not a pointer type, like you would expect to use in C and I didn’t think that the GL libs made this available. Does anyone know if this will work under other compilers on other OSes?
Thanks,
Luke.