glx_w32s.tem 2.0 KB

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