Károly Balogh 85953d5e99 MorphOS: moved system dependent units outside the RTL into the new morphunits package. also renamed some units to match classic Amiga and/or AROS naming 11 年之前
..
examples 73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used. 11 年之前
src 81b6e1b9d9 fixed OpenGL to build for MorphOS and hopefully did not break anything in the process 12 年之前
Makefile da7efb8607 AROS: regenerated Makefiles to support i386-aros 11 年之前
Makefile.fpc 77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles 11 年之前
Makefile.fpc.fpcmake 68d9066200 * Changed more packages to fpmake building 13 年之前
fpmake.pp 85953d5e99 MorphOS: moved system dependent units outside the RTL into the new morphunits package. also renamed some units to match classic Amiga and/or AROS naming 11 年之前
glunits.txt 9655cb60e7 * opengl 17 年之前
readme 9655cb60e7 * opengl 17 年之前

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