glu.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // "$Id: glu.h 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. //
  4. // GLu header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2010 by Bill Spitzak and others.
  7. //
  8. // You must include this instead of GL/gl.h to get the Microsoft
  9. // APIENTRY stuff included (from <windows.h>) prior to the OpenGL
  10. // header files.
  11. //
  12. // This file also provides "missing" OpenGL functions, and
  13. // gl_start() and gl_finish() to allow OpenGL to be used in any window
  14. //
  15. // This library is free software. Distribution and use rights are outlined in
  16. // the file "COPYING" which should have been included with this file. If this
  17. // file is missing or damaged, see the license at:
  18. //
  19. // http://www.fltk.org/COPYING.php
  20. //
  21. // Please report all bugs and problems on the following page:
  22. //
  23. // http://www.fltk.org/str.php
  24. //
  25. #ifndef FL_glu_H
  26. # define FL_glu_H
  27. # include "Enumerations.H" // for color names
  28. # ifdef WIN32
  29. # include <windows.h>
  30. # endif
  31. # ifndef APIENTRY
  32. # if defined(__CYGWIN__)
  33. # define APIENTRY __attribute__ ((__stdcall__))
  34. # else
  35. # define APIENTRY
  36. # endif
  37. # endif
  38. # ifdef __APPLE__
  39. # include <OpenGL/glu.h>
  40. # else
  41. # include <GL/glu.h>
  42. # endif
  43. #endif // !FL_glu_H
  44. //
  45. // End of "$Id: glu.h 8864 2011-07-19 04:49:30Z greg.ercolano $".
  46. //