glu_w32s.tem 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. $Id$
  3. Translation of the Mesa GLU headers for FreePascal
  4. Copyright (C) 1999 Sebastian Guenther
  5. Version for static linking in Win32 environment.
  6. Latest change: 1999-11-11
  7. Original copyright notice:
  8. Mesa 3-D graphics library
  9. Version: 3.0
  10. Copyright (C) 1995-1998 Brian Paul
  11. This library is free software; you can redistribute it and/or
  12. modify it under the terms of the GNU Library General Public
  13. License as published by the Free Software Foundation; either
  14. version 2 of the License, or (at your option) any later version.
  15. This library is distributed in the hope that it will be useful,
  16. but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. Library General Public License for more details.
  19. You should have received a copy of the GNU Library General Public
  20. License along with this library; if not, write to the Free
  21. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22. }
  23. {$MODE delphi} // objfpc would not work because of direct proc var assignments
  24. {You have to enable Macros (compiler switch "-Sm") for compiling this unit!
  25. This is necessary for supporting different platforms with different calling
  26. conventions via a single unit.}
  27. unit GLU; // version with static linking
  28. interface
  29. {$IFDEF Win32}
  30. {$DEFINE glu_dll := external 'glu32.dll'}
  31. uses
  32. Windows,
  33. GL; { for definition of GL_TRUE/FALS }
  34. {$ELSE}
  35. {$MESSAGE Unsupported platform.}
  36. {$ENDIF}
  37. // =======================================================
  38. // Unit specific extensions
  39. // =======================================================
  40. // none - no special init required
  41. // =======================================================
  42. // GLU consts, types and functions
  43. // =======================================================
  44. %GLUDeclsIF
  45. %GLUProcsPS
  46. // =======================================================
  47. //
  48. // =======================================================
  49. implementation
  50. {BEGIN{OF INIT}
  51. end.
  52. {
  53. $Log$
  54. Revision 1.1 2000-07-13 06:34:18 michael
  55. + Initial import
  56. Revision 1.1 2000/05/31 00:35:14 alex
  57. added working templates
  58. }