readme 1.2 KB

12345678910111213141516171819202122
  1. New Free Pascal OpenGL (GL, GLU, GLUT, GLX) Units
  2. GLX unit (c) 1999-2002 Sebastian Guenther, [email protected]
  3. other units adapted to Free Pascal from the delphi3d.net units
  4. by Tom Nuydens ([email protected]), see http://www.delphi3d.net/
  5. You might have a look at the original readme, glunits.txt, as well
  6. Some remarks:
  7. * The new OpenGL units are not 100% compatible to the old ones; the new units
  8. use exactly the same function declarations as their C counterpart.
  9. * Platform compatiblity: You can work on all targets exactly as on Win32;
  10. for example, you can use wglGetProcAddress for loading OpenGL extensions even
  11. on Unix based systems. A future release of the glext unit might have helper
  12. functions for loading specific extensions. (There is a small problem with
  13. Free Pascal: In FPC mode, you cannot assign a pointer, as returned by
  14. wglGetProcAddress, to a variable which holds a function pointer. Currently
  15. you have to compile your programs in Delphi mode, if they are using OpenGL
  16. extensions)
  17. * GLUT on Win32: Get the glut32.dll from here:
  18. http://www.xmission.com/~nate/glut.html
  19. * GTKGLArea: The GL Area widget for GTK is available in the GTK package