fpc/packages/extra/opengl
armin 458e3c3780 * makefiles regenerated
* ide: added target netwlibc
2004-09-04 23:33:38 +00:00
..
examples * makefiles regenerated 2004-09-04 23:33:38 +00:00
dllfuncs.pp * BSD fix 2003-08-25 18:16:38 +00:00
gl.pp * Include local ChoosePixelFormat def 2003-01-01 14:43:17 +00:00
glext.pp * Changed notice about wglGetProcAddress 2002-11-29 17:10:13 +00:00
glu.pp
glunits.txt
glut.pp + added an error message, if the glu library isn't found 2004-06-05 07:30:57 +00:00
glx.pp * ChooseVisual attriblist is a PInteger array 2003-03-17 17:00:08 +00:00
Makefile * makefiles regenerated 2004-09-04 23:33:38 +00:00
Makefile.fpc + Version on 1.9.4 2004-05-30 09:38:26 +00:00
readme

New Free Pascal OpenGL (GL, GLU, GLUT, GLX) Units
GLX unit (c) 1999-2002 Sebastian Guenther, sg@freepascal.org
other units adapted to Free Pascal from the delphi3d.net units
by Tom Nuydens (tom@delphi3d.net), 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