summaryrefslogtreecommitdiff
path: root/include/GL/glut.h
AgeCommit message (Collapse)Author
2010-01-01glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca
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.
2009-02-12glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca
2009-02-12glut: Don't try to guess system headers.José Fonseca
Just include them, especially such basic header as stdlib.h
2009-01-24glut: Automatic library linkage only on MSVC.José Fonseca
2009-01-24glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca
_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.
2009-01-24glut: Ensure windows.h is included on windows.José Fonseca
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.
2009-01-23glut: Do not rely on GLAPIENTRY symbol.José Fonseca
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
2009-01-22glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca
windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
2008-11-21glut: MinGW portability fixes.José Fonseca
Still, it doesn't run as well as the glut binaries...
2007-07-27more Mingw32 fixesZhang
2007-07-21Fix a number of MINGW32 issuesZhang
2007-06-28a variety of fixes for MingWzhang
2005-02-16fix non-Win32 definition of GLUTAPIENTRY, remove some cruftBrian Paul
2005-02-08Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.Adam Jackson
2004-11-27typedef GLUTproc, return it from glutGetProcAddress()Brian Paul
2004-11-08Remove need for defining _MSC_VER when building Mesa for windows withBrian Paul
a non MS C compiler (MinGW). (Gregor Anich)
2003-10-27minor fix to glutSetColor prototype (Evgeny Kotsuba)Brian Paul
2003-08-19DOS and glide driver updates from Daniel BorcaBrian Paul
2002-08-17added glutGetProcAddress()Brian Paul
2000-06-15removed non-windows exit() prototypeBrian Paul
2000-03-20patched for Cygwin (Sven Panne)Brian Paul
1999-11-17fixed some glitches (Eero Pajarre)Brian Paul
1999-10-20Minor patches to cleanup some compiler warnings in MSVCTed Jump
1999-08-19Initial revisionjtg