aboutsummaryrefslogtreecommitdiffstats
path: root/include/GL/glut.h
Commit message (Collapse)AuthorAgeFilesLines
* glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca2010-01-011-6/+3
| | | | | | There are two ways to silent this: put inline keyword, or reimplement the hack as a #define. inline keyword actually varies slightly with compiler so I've opted by the latter.
* glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca2009-02-121-1/+1
|
* glut: Don't try to guess system headers.José Fonseca2009-02-121-17/+3
| | | | Just include them, especially such basic header as stdlib.h
* glut: Automatic library linkage only on MSVC.José Fonseca2009-01-241-1/+1
|
* glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca2009-01-241-2/+2
| | | | | | | | | | | | _DLL is defined by MSVC when building against a DLL version of the CRT library. It bears no relation to whether we are building a DLL or not. That is, we can build a DLL against a static CRT, or a static lib against a dynamicaly linked CRT. See more detail at http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx This gets DLL version of glut linking correctly both with MinGW and MSVC. PS: GL/gl.h (and others) must be fixed too.
* glut: Ensure windows.h is included on windows.José Fonseca2009-01-241-87/+4
| | | | | | Trying to override windows headers is a recipe for disaster. Especially when using with glew. Also the windows headers in recent MinGW are complete enough that they don't need patching up.
* glut: Do not rely on GLAPIENTRY symbol.José Fonseca2009-01-231-3/+10
| | | | | | | | | | | | | | | | | GLEW does some defining/undefining of GLAPIENTRY making it unreliable. GLEW should also be fixed, but removing the dependency on this symbol. This also restores the ability for GLUT to be used with -fvisibility=hidden. The downside of this is that ld warns of: Warning: size of symbol `glutBitmapXXXXX' changed from 4 in glut_xxx.o to 16 in glut_xxxx.o Due to the fonts being declared void * (*4 bytes), but defined as 16byte static structure. I'll fix that in a later commit. See also commits: - f321f16e83cae427d6496c11955fd1c898d0395c - d084982240bafba0169c4a6cacf02d45d6cfd8c1
* glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca2009-01-221-1/+4
| | | | | windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
* glut: MinGW portability fixes.José Fonseca2008-11-211-1/+1
| | | | Still, it doesn't run as well as the glut binaries...
* more Mingw32 fixesZhang2007-07-271-1/+1
|
* Fix a number of MINGW32 issuesZhang2007-07-211-2/+7
|
* a variety of fixes for MingWzhang2007-06-281-3/+5
|
* fix non-Win32 definition of GLUTAPIENTRY, remove some cruftBrian Paul2005-02-161-26/+2
|
* Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.Adam Jackson2005-02-081-1/+1
|
* typedef GLUTproc, return it from glutGetProcAddress()Brian Paul2004-11-271-1/+2
|
* Remove need for defining _MSC_VER when building Mesa for windows withBrian Paul2004-11-081-2/+2
| | | | a non MS C compiler (MinGW). (Gregor Anich)
* minor fix to glutSetColor prototype (Evgeny Kotsuba)Brian Paul2003-10-271-1/+1
|
* DOS and glide driver updates from Daniel BorcaBrian Paul2003-08-191-1/+1
|
* added glutGetProcAddress()Brian Paul2002-08-171-1/+6
|
* removed non-windows exit() prototypeBrian Paul2000-06-151-1/+1
|
* patched for Cygwin (Sven Panne)Brian Paul2000-03-201-1/+1
|
* fixed some glitches (Eero Pajarre)Brian Paul1999-11-171-3/+2
|
* Minor patches to cleanup some compiler warnings in MSVCTed Jump1999-10-201-20/+36
|
* Initial revisionjtg1999-08-191-0/+751