Commit Graph

895 Commits

Author SHA1 Message Date
fayjf
51d3ffb2e6 Fixing bug report 3106347, 'Incorrect normals for glutSolidCone' -- thank you Nigel.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@881 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 04:25:33 +00:00
fayjf
28fbb2e489 Adding Visual Studio 2010 support and moving Visual Studio 2008 support from two separate directories into a single "VisualStudio" directory.
Use of the project files in the "VisualStudio2008" or "VisualStudio2008Static" directories is now DEPRECATED.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@880 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 03:47:05 +00:00
fayjf
91da82f05a Adding a 'README.mac' file to capture Nicholas Panayis' experience -- see e-mail on freeglut-developer dated 11/9/2010 at 10:03 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@879 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 02:45:42 +00:00
fayjf
84097816a1 Fixing typo in a comment per e-mail from Arvin Schnell dated 11/19/10 4:55 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@878 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-20 13:40:25 +00:00
fayjf
e5e5aebedf Addressing feature request 2116152 -- adding an fgError exit callback routine -- patch from Chris Marshall in e-mail dated 10/30/2010 2:06 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@877 7f0cb862-5218-0410-a997-914c9d46530a
2010-11-01 04:13:54 +00:00
fayjf
c7aaa1bc6b Fixing "fgDestroyWindow" error per e-mail from John Tsiombikas dated Wed, 26 May 2010 13:16:28 +0200
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@876 7f0cb862-5218-0410-a997-914c9d46530a
2010-05-29 02:07:21 +00:00
fayjf
142e76b216 Allowing recent change to build on older versions of MSVC per e-mail from Eero Pajarre dated 1/31/10 at 10:00 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@875 7f0cb862-5218-0410-a997-914c9d46530a
2010-02-01 03:02:44 +00:00
fayjf
70d3a84fbb Putting the definition of "HAVE_VFPRINTF" back in (and adding the errant "F") per e-mail from Eero Pajarre dated 1/29/2010 at 7:51 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@874 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:54:59 +00:00
fayjf
600f6d5a8f Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from Eero Pajarre dated 1/29/10, 5:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@873 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-30 00:03:48 +00:00
fayjf
e20faf7c03 Implementing Windows multiple-display patch per e-mail from Eero Paharre dated 1/25/10, 11:54 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@872 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-29 05:05:14 +00:00
fayjf
c907da58a6 Making all Windows include file names lower-case for better *nix compatibility per e-mail from Martin Payne vintage 1/22/2010 6:15 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@871 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-25 03:57:50 +00:00
fayjf
c152b70c81 Checking for a window before we try to refer to it (see e-mail by Eero Pajarre dated 1/10/2010 at 2:48 PM).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@870 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-11 01:41:38 +00:00
fayjf
cc885020fd Fixing a typo in a comment
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@869 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 16:31:17 +00:00
fayjf
4942803265 Implementing feature request #2840239: Windows special keys added (ctrl, shift and alt)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@868 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:44:34 +00:00
fayjf
860aa2a786 Implementing feature request 2824176: detection of X11 special keys: SHIFT, CTRL, ALT
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@867 7f0cb862-5218-0410-a997-914c9d46530a
2010-01-04 04:07:03 +00:00
fayjf
89054dd9a7 Rearranged some of the configuration-dependent code with an eye to simplifying it.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@866 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 04:05:46 +00:00
fayjf
9b9809432d Adding Solaris and OSX to the *nix/X11 cursor support and adding a comment to the spaceball file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@865 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-24 03:06:22 +00:00
fayjf
eff908883c Adding a check for Solaris in the "freeglut_internal.h" code to avoid duplication
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@864 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-21 01:50:35 +00:00
fayjf
726c395f33 Having the library poll joysticks only if there is an active joystick callback enabled per e-mail exchange titled "overjoyed" on December 10-13, 2009
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@863 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:47:20 +00:00
fayjf
81d921ae4c Fixing another errant "HAVE_ERRNO_H" preprocessor definition
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@862 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 13:46:20 +00:00
fayjf
e2a89d2678 Checking in the 'build patch' from Jeremy Huddleston vintage 11/19/09 -- everything except the 'configure.ac' changes which break my Cygwin build
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@861 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-13 05:06:44 +00:00
fayjf
ab90771c87 Replacing a needed function in the cursor code -- the previous SVN commit broke the build.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@860 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-12 13:37:57 +00:00
fayjf
f2e555b6e6 Simplifying the system-dependent conditional code in "freeglut_cursor.c"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@859 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-05 14:58:24 +00:00
fayjf
439af1ae86 Adding Martin Payne's changes to the web source per e-mail dated 11/30/09, 5:31 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@858 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 13:06:07 +00:00
fayjf
cf68c85c42 Diederick Niehorster's web page changes as listed in an e-mail dated 11/29/09, 8:35 PM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@857 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 04:12:54 +00:00
fayjf
51c968449c Uploading spaceball/set-window patch per e-mail from John Tsiombikas dated 1:34 PM, 12/2/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@856 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-03 03:21:12 +00:00
fayjf
e5e1e7df6c Bumping the version number up to 2.7.0 -- we are now into the new "unstable" build for the next go-around
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@855 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 12:08:37 +00:00
fayjf
103563ac3b See e-mail from Martin Payne dated 11/30/09 at 5:51 AM. These changes include changing "HAVE_ERRNO" to "HAVE_ERRNO_H" globally, modifying "configure.ac" to check for "errno.h", and modifying the "vcproj" files to suppress spurious warnings.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@854 7f0cb862-5218-0410-a997-914c9d46530a
2009-12-02 03:56:05 +00:00
fayjf
7efa887c37 Updating the web page
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@853 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-30 01:08:32 +00:00
fayjf
ff2ef131b4 Making the "smooth_opengl3" typedefs to be Windows only per a discussion on the developers' list over the last several days.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@851 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-19 12:51:58 +00:00
fayjf
4aeba03641 Adding Mac OSX to the list of platforms covered by the X11 support. This is a stopgap measure so we can get something out the door; I would prefer native OSX support. See e-mail from Paul Martz at 3:25 PM, 11/16/09 for some thoughts on this. Apparently this allows the library to build but the demos do not work.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@850 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 12:29:05 +00:00
fayjf
ee3f0e0680 Putting in the "glutFullScreen" support for Gnome and other X window managers per e-mail with patch file from John Tsiombikas dated 2:14 AM, 11/16/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@849 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-18 01:52:13 +00:00
fayjf
77dda48064 Fixing the "freeglutdll.def" for real per e-mail from Martin Payne dated 12:58 PM, 11/14/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@848 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 19:11:21 +00:00
fayjf
52e7f764cc Removing a set of deprecated joystick functions from "freeglutdll.def" per e-mail thread with Martin Payne on "Release Candidate 2 status", one entry of which is dated 1:03 AM, 11/14/09
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@847 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 18:43:07 +00:00
fayjf
acb7e60c1f Fixing bug 2862668, "freeglut 2.6.0 RC1 fails to build on FreeBSD", submitted by Alexis Ballier ( aballier ) - 2009-09-20 09:44 (thank you, Alexis)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@846 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-14 04:31:39 +00:00
fayjf
aaaac4abe3 Making the spaceball demo a bit more elegant per e-mail from John Tsiombikas dated 8:45 PM, 11/10/09.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@845 7f0cb862-5218-0410-a997-914c9d46530a
2009-11-11 03:30:06 +00:00
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
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
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
fayjf
4c95acc14c Setting the "fractals" demo initial number of levels to 4 per suggestion from Diederick C. Niehorster [diederick@niehorster.eu] in e-mail dated Mon 3/9/2009 5:29 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@793 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-09 14:32:09 +00:00
fayjf
53c3b78463 Fixing Microsoft compatibility with the new "vsnprintf" by putting an underscore in front of it if WIN32 is defined but __CYGWIN__ is not
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@792 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-01 21:23:24 +00:00
spanne
d324e5489c We do not depend on GLU anymore
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@791 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-01 12:40:49 +00:00
spanne
796d78fd9e Added notes for building under Cygwin
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@790 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-01 12:32:03 +00:00
spanne
2ceeedd2f0 To build shared libraries on Windows, one has to declare explicitly that there are no undefined symbols during linking. No idea why, but this seems to be the only way to enable this on Cygwin via -mno-cygwin. Hopefully this won't cause problems on other platforms (which has to be tested).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@789 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-01 11:38:18 +00:00
spanne
7e0fcbc4e3 Windows fun again: Use the correct calling convention for OpenGL extension entries.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@788 7f0cb862-5218-0410-a997-914c9d46530a
2009-03-01 11:33:15 +00:00
spanne
49526044d2 When -mno-cygwin is used, we get ancient GL headers, so be a bit more conservative.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@787 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 18:31:35 +00:00
spanne
5cd0ad0211 _CrtDumpMemoryLeaks and its header are Microsoft-specific, e.g. Cygwin doesn't provide them.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@786 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 18:02:31 +00:00
spanne
5ad587d208 Do not try to destroy a GLX context when there is none, e.g. when glXCreateContextAttribsARB is not there.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@785 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 17:09:15 +00:00
spanne
d04fb4c03c Use snprintf or _snprintf instead of the potentially dangerous sprintf
to avoid warnings.

NOTE: Due to excessive use of #ifdefs, the joystick code is on the
border of being unmaintainable! I could only check that it compiles
cleanly on my Linux box. Others should test this on their platforms
(Windows, Mac OS X, *BSD) to make sure that nothing has been broken.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@784 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 13:09:22 +00:00
spanne
41e68f8f5d Use vsnprintf instead of the potentially dangerous sprintf to avoid
warnings. Using snprintf directly would be a little bit more tricky,
because once again Microsoft decided to avoid followind standards and
provide _snprintf instead. We could use this, too, but this would
require an additional autoconf check, which I'd like to avoid, if
possible.

Note: If VS *still* issues warnings, but this time about vsnprintf,
somebody should add some pragmas or whatever is needed to shut up that
warning, it would be silly.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@783 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 12:56:20 +00:00
spanne
15aa199c84 Position the distance message closer to the middle of the window, it
has been far, far off to the upper right.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@782 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 12:41:17 +00:00
spanne
1e30ebb6a1 Synched version number with configure.ac. We should better remove this
redundancy and calculate this from configure.ac directly.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@781 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-28 12:16:03 +00:00
fayjf
7b110e3696 Fixing the DOS/Linux line ending problems in the progs/demos/smooth_opengl3 project files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@780 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-19 16:53:18 +00:00
fayjf
457f74d24f Fixing a build error caused by a variable declaration being out of place
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@779 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-18 18:30:12 +00:00
spanne
cf85aaefef Final changes to make the example fully OpenGL-3.0-compliant:
* Use vertex attribute arrays.

 * Use our own projection matrix.

 * Do not use deprecated vertex/fragment shader variables.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@778 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-15 21:12:25 +00:00