florian aff5e1c197 * fpu safe glut by Jan Bruns, resolves #8995 18 years ago
..
examples 30bc89cfe5 * fixed dependency checking for source files in subdirectories relative 18 years ago
Makefile cb744d37ff - reverted change for avoiding recompilation of units in subdirs, 18 years ago
Makefile.fpc 9adb91a68d + support for make -jX by marking all Makefiles that need to be executed 18 years ago
fpmake.inc 12504a6aa7 * a lot of defines changed from win32 to windows, doesn't help for glut though because I didn't find a win64 glut32.dll yet 18 years ago
fpmake.pp ec05423779 + Initial implementation 20 years ago
gl.pp 1a2ff69193 * mswindows -> windows, WinCE supports OpenGL as well 18 years ago
glext.pp 1a2ff69193 * mswindows -> windows, WinCE supports OpenGL as well 18 years ago
glu.pp 1a2ff69193 * mswindows -> windows, WinCE supports OpenGL as well 18 years ago
glunits.txt 4ace790492 * remove $Log 20 years ago
glut.pp aff5e1c197 * fpu safe glut by Jan Bruns, resolves #8995 18 years ago
glx.pp 1b7f4b1e90 * adds "T" variants to types (delphi compat in the least) 18 years ago
readme 1f2b762ce4 * Finally, the new units are available: Match the C headers more closely; 23 years ago
tinygl.inc 981dd043e4 + removed unnecessary typecasts causing troubles 19 years ago
tinyglh.inc e1aa3018f6 * Few more changes for MorphOS OpenGL support 20 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