peter ef3b19b316 * regenerated 20 years ago
..
examples ef3b19b316 * regenerated 20 years ago
Makefile ef3b19b316 * regenerated 20 years ago
Makefile.fpc 26b56d31ce * updated makefile.fpc versions to 1.9.7, regenerated makefiles 20 years ago
dllfuncs.pp eb148e7adc * thandle -> ptrint 20 years ago
gl.pp 1ef474cd76 + basic Mac OS X support, only bounce works for now though 21 years ago
glext.pp b2b9e77321 * Changed notice about wglGetProcAddress 23 years ago
glu.pp f3854a696f - removed call to getlastdlerror 21 years ago
glunits.txt b22e56bec9 * Part 2 of CVS update... 23 years ago
glut.pp f3854a696f - removed call to getlastdlerror 21 years ago
glx.pp 062d04e97e * ChooseVisual attriblist is a PInteger array 22 years ago
readme 1f2b762ce4 * Finally, the new units are available: Match the C headers more closely; 23 years ago

readme

New Free Pascal OpenGL (GL, GLU, GLUT, GLX) Units
GLX unit (c) 1999-2002 Sebastian Guenther, [email protected]
other units adapted to Free Pascal from the delphi3d.net units
by Tom Nuydens ([email protected]), see http://www.delphi3d.net/

You might have a look at the original readme, glunits.txt, as well


Some remarks:
* The new OpenGL units are not 100% compatible to the old ones; the new units
use exactly the same function declarations as their C counterpart.
* Platform compatiblity: You can work on all targets exactly as on Win32;
for example, you can use wglGetProcAddress for loading OpenGL extensions even
on Unix based systems. A future release of the glext unit might have helper
functions for loading specific extensions. (There is a small problem with
Free Pascal: In FPC mode, you cannot assign a pointer, as returned by
wglGetProcAddress, to a variable which holds a function pointer. Currently
you have to compile your programs in Delphi mode, if they are using OpenGL
extensions)
* GLUT on Win32: Get the glut32.dll from here:
http://www.xmission.com/~nate/glut.html
* GTKGLArea: The GL Area widget for GTK is available in the GTK package