Commit Graph

826 Commits

Author SHA1 Message Date
fayjf
0be6f5a309 Getting the "spaceball" demo to build properly in Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@844 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 01:21:41 +00:00
fayjf
11adf5e005 Adding the "freeglut_spaceball.c" file to the MSVC6 project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@843 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 00:59:50 +00:00
fayjf
7eb5301e0e Adding "freeglut_spaceball.c" to the VS2008 project files per e-mail from Diederick Niehorster dated 12:13 AM, 11/9/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@841 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-09 13:08:37 +00:00
fayjf
c2557f0a19 Adding "freeglut_spaceball" to the "Makefile.wat" file to (I hope) allow it to build using OpenWATCOM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@840 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:58:49 +00:00
fayjf
e84e92b56d Converting tab characters to spaces in the source code ...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@839 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-08 02:00:17 +00:00
fayjf
e9ad401d84 Removing spurious warning message from new freeglut spaceball support per e-mail from John Tsiombikas dated 11/06/09 12:19 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@838 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-07 02:16:38 +00:00
fayjf
803c4f86a2 First attempt at adding John Tsiombikas' spaceball support for X11. It compiles under Windows but the demo program does not. See e-mail from John Tsiombikas dated 10/15/2009 9:43 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@837 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-06 13:26:16 +00:00
fayjf
755316c21d Implementing "glutEntryFunc" for Windows properly. I also moved the menu highlight code so that needs checking.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@836 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-05 13:45:52 +00:00
fayjf
23c2780aab Adding a check for mingw64 in "freeglut_cursor.c" per e-mail from Sisyphus dated Thu, 29 Oct 2009 13:13:18 +1100
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@835 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-04 00:38:55 +00:00
fayjf
0027c2521f Protecting "errno" in case it is not defined per e-mail from Vincent R dated 5:37 AM, October 3, 2009.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@834 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-03 13:45:32 +00:00
fayjf
2bebcfa23f Protecting some preprocessor symbols that are not defined in OpenGL-ES per e-mail from Vincent R dated 5:37 AM, October 3, 2009.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@833 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-02 13:42:23 +00:00
spanne
baf772ecb7 Added support for sRGB framebuffers via the GLX_ARB_framebuffer_sRGB /
WGL_ARB_framebuffer_sRGB extensions. Added support for context profiles via the
new parts of the GLX_ARB_create_context / WGL_ARB_create_context extensions.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@832 7f0cb862-5218-0410-a997-914c9d46530a
2009-08-10 18:39:58 +00:00
spanne
5c6071fa45 Unbreak the build for non-Windows platforms, fixing obviously untested
recent commits.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@831 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-23 19:07:34 +00:00
fayjf
f0d06b2fe6 Making the #ifdef's around "__glutExitFunc" consistent so Cygwin will build
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@830 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:29:16 +00:00
fayjf
ecd59d13e2 Adding the Cygwin/mingw documentation from Jean-Seb (see e-mail dated Thu 7/9/2009 5:51 PM)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@829 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-12 14:07:19 +00:00
fayjf
d59ab1c02e Making the "AT_EXIT" hack look a bit less like a copy-and-paste
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@828 7f0cb862-5218-0410-a997-914c9d46530a
2009-07-10 16:18:06 +00:00
fayjf
d011e8dc74 Changing the OpenWatCom support per e-mail from Paul Blew dated Thu 6/11/2009 3:35 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@827 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-22 18:54:41 +00:00
spanne
22ea7171fe Disable the ATEXIT_HACK for Watcom, their "exit" function has a different
calling convention, leading to compilation errors.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@826 7f0cb862-5218-0410-a997-914c9d46530a
2009-06-11 08:25:25 +00:00
fayjf
a5f5c71bac Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@825 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-31 13:00:44 +00:00
spanne
3ba47f5708 Move all files related to Visual Studio 2008 into 2 directories, one for the normal DLL build, and one for the static build. We should do this for other IDEs, too.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@824 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-24 12:31:43 +00:00
spanne
ad2f613a10 Put static library stuff into its own solution. This way, a rather uncommon way doesn't clutter up our normal solution, which is DLL-based.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@823 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:50:37 +00:00
spanne
6abe740e61 Ignore more files generated by Visual C++ 2008
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@822 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:42:05 +00:00
spanne
9ca59bae38 Normalized VC 2008 project, making the configurations more general.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@821 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-23 12:20:07 +00:00
spanne
8e840f9c61 Added missing guard to deactivate ATEXIT_HACK on non-Windows platforms
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@820 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 16:51:26 +00:00
spanne
2bf156719b Avoid warnings when the ATEXIT_HACK is used with GCC, making the hack even uglier.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@819 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 15:50:24 +00:00
spanne
f3de81ff34 Added the ugly ATEXIT_HACK from GLUT 3.7, making freeglut binary compatible with the GLUT DLLs out in the wild.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@818 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 15:20:03 +00:00
spanne
2fe5703d54 Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@817 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:15:49 +00:00
spanne
5cd12c9355 Use our module definition file, so we get undecorated names in the resulting DLL, just like the classic GLUT DLL from Nate Robins.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@816 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:15:10 +00:00
spanne
ac426def6d Removed obsolete lines. Fixed version number.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@815 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:12:30 +00:00
spanne
c40212af37 Ignore file generated by Visual C++ 2008
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@814 7f0cb862-5218-0410-a997-914c9d46530a
2009-05-22 14:07:13 +00:00
spanne
68b0bc11aa We are at version 2.6.0 now.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@813 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 13:50:17 +00:00
spanne
a733f57992 Added more project/workspace/... files to distribution.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@812 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 13:13:31 +00:00
spanne
3e265117c6 Removed remnants of CVS.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@811 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 12:47:32 +00:00
spanne
eae78ff59c Fixed minor typo in NEWS.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@810 7f0cb862-5218-0410-a997-914c9d46530a
2009-04-05 10:50:13 +00:00
spanne
20f262b9b4 Make the example fully OpenGL-3.1-compliant.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@809 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-30 16:14:49 +00:00
spanne
1d342abc21 Make Visual C happy by including stddef.h and explicitly marking some literals as float.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@808 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-27 16:20:40 +00:00
spanne
2bc21a4c53 Synched ChangeLog with latest changes
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@807 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-26 16:19:26 +00:00
spanne
0a11d248c1 Unbreak the build: C++ style comments are not allowed in ISO C90
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@806 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-26 16:12:42 +00:00
fayjf
b8bb61e933 Fixing "freeglut_input_devices.c" for MSVS2005 and later per e-mail from Diederick Niehorster dated Thu 3/19/2009 6:57 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@805 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-19 14:55:14 +00:00
fayjf
7ee6e9ee86 Removing some build warnings from deprecated functions for VS2008 per e-mail from Diederick Niehorster dated Tue 3/10/2009
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@804 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-17 17:19:05 +00:00
fayjf
db84dee359 Adding Visual Studio 2008 solution and project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@803 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-17 15:43:25 +00:00
spanne
7d3a0c3623 Set the default number of samples per pixel to 4 and actually use the value set
with glutSetOption(GLUT_MULTISAMPLE,...) in Windows code. Previously the Windows
code used a hardwired value of 4 and the GLX code had a default of 0, neither
made much sense. Similarly, set the default number of auxiliary buffers to 1 and
use that value when GLUT_AUX is used. Note: There latter token has the same
value as GLUT_AUX1, and for historical reasons we seem to have 2 APIs to set the
number of auxiliary buffers: Explicitly using GLUT_AUX1 ... GLUT_AUX4, and using
a combination of GLUT_AUX with glutSetOption. The default of 1 ensures
consistent behaviour in both cases.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@802 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-16 17:53:54 +00:00
spanne
26495e19b9 Added GLUT_AUX and GLUT_MULTISAMPLE as possible parameters for
glutGet, making things more symmetric with glutSetOption.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@801 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-16 17:30:37 +00:00
fayjf
35201d3df8 Adding "GLUT_MULTISAMPLE" to "shapes" demo ... because we can (see e-mail from Diederick C. Niehorster dated Mon 3/9/2009)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@800 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-16 17:28:25 +00:00
spanne
1a8c55895d Added missing API entries.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@799 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-16 16:44:36 +00:00
spanne
aba72b64a8 Added NEWS entry for 2.6.0 release. Please review/extend/fix...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@798 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-15 18:12:28 +00:00
spanne
c032840210 Recreated ChangeLog via svn2cl, so we use the standard GNU format now
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@797 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-15 17:28:14 +00:00
fayjf
667b7a0ec5 Adding the "smooth_opengl3" demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@796 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-10 15:25:34 +00:00
fayjf
cc3c45860a Adding a warning that the "Nightly SVN Tarball" is currently disabled.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@795 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-09 14:55:36 +00:00
fayjf
0c89ab8be2 Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility with GLEW per suggestion by Diederick C. Niehorster in e-mail dated Mon 3/9/2009 8:06 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@794 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-09 14:41:59 +00:00