marco 8ca6c83ceb * patch from Dmitry for bug #16135. Some newer opengl functions and symbols. 15 years ago
..
examples 55cffbef12 * Update Makefiles 16 years ago
src 8ca6c83ceb * patch from Dmitry for bug #16135. Some newer opengl functions and symbols. 15 years ago
Makefile 6acc54191f * fixes OpenGL on Haiku, resolves #16385, by Olivier Coursiere 15 years ago
Makefile.fpc 6acc54191f * fixes OpenGL on Haiku, resolves #16385, by Olivier Coursiere 15 years ago
fpmake.pp 11083d88b3 Merged revisions 11337-11338,11341-11345,11348,11350-11361,11363-11368,11370,11376-11392,11397-11400,11402-11410,11415-11419,11421,11423-11426,11429-11464,11466-11468,11471-11486,11489,11491-11517,11522,11524-11527,11529-11534,11536-11550,11552,11554,11556,11558-11561,11563,11565-11570,11572-11587,11589-11618,11620,11623-11627,11629-11663,11668-11669,11671-11682,11684,11686-11688,11693,11697,11699-11700,11703-11704,11708-11711,11719-11722,11727,11730-11732,11738-11777,11779,11782-11784,11786-11809,11811-11821,11823-11830,11832-11835,11837-11847,11849-11871,11873-11875,11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045 via svnmerge from 17 years ago
glunits.txt 9655cb60e7 * opengl 17 years ago
readme 9655cb60e7 * opengl 17 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