fayjf
36bdaa9a43
Fixing bug 3292122 from Nigel Stewart (thanks, Nigel) so that "freeglut" will build on Ubuntu, per e-mail from Diederick Niehorster vintage 6/8/2011 at 3:07 AM. There was a problem with variables being declared only with an X extension but being used for all of X.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@927 7f0cb862-5218-0410-a997-914c9d46530a
2011-09-04 03:35:29 +00:00
fayjf
679e603ffc
Fixing a null argument to 'strdup' per e-mail from Eero Pajarre dated 6/8/2011 4:15 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@926 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:53:12 +00:00
fayjf
f979d866ea
Adding a multitouch patch from Eero Pajarre per e-mail dated 6/8/2011 1:14 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@925 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:50:27 +00:00
fayjf
248df90aef
Patch for new Visual Studios to fix typos and quiet warnings per e-mail from Diederick C. Niehorster dated 6/5/2011 at 9:23 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@924 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:47:11 +00:00
fayjf
ef4424524a
Updating the MSVC 2010 project file for the "subwin" demo, courtesy of an e-mail from Diederick Niehorster dated 6/5/2011 at 9:32 PM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@923 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-10 03:36:14 +00:00
fayjf
f106c8b1e8
Fixing a 'gamemode at_exit' bug courtesy of Diederick Niehorster per e-mail dated 6/1/11 1:50 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@922 7f0cb862-5218-0410-a997-914c9d46530a
2011-06-01 11:44:00 +00:00
fayjf
3a5a72436b
Adding support for partial mouse wheel turns as requested by Jason Wilkins in an e-mail dated 5/27/11 10:34 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@921 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:37:31 +00:00
fayjf
25edeabab4
Adding "MouseWheelTicks" to the "fgState" structure as a first step towards supporting fractional mouse wheel ticks
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@920 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:27:04 +00:00
fayjf
409b0c9f78
Fixing multitouch for Windows per e-mail from Florian Echtler dated 5/3/11 10:33 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@919 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:17:34 +00:00
fayjf
7b62a4fb84
Fixing 'glutGet' processing for 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 10:17 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@918 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:12:02 +00:00
fayjf
849856388a
Fixing 'GLUT_BORDERLESS' on Windows per e-mail from Eero Pajarre dated 4/24/2011 9:19 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@917 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:10:13 +00:00
fayjf
5fac63e885
Updating the VS 2010 solution file per e-mail from Diederick Niehorster dated 5/27/11 at 3:59 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@916 7f0cb862-5218-0410-a997-914c9d46530a
2011-05-27 20:03:10 +00:00
fayjf
d6a686cad3
Adding the "subwin" demo to the MSVC 6.0 workspace, in both static and dynamic configurations
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@915 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-26 18:10:27 +00:00
fayjf
81fdcb4328
Fixing the build on *nix per e-mail from John Tsiombikas dated 3/22/11 at 2:26 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@914 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-25 02:50:57 +00:00
fayjf
67fa04607e
Fixing problems in VS2010 solution and project files per e-mail from Diederick Niehorster dated 3/22/11 11:30 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@913 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 12:40:54 +00:00
fayjf
484626fccb
Adding the "subwin" demo program to the Visual Studio 2010 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM. I had to hand-jam it with Notepad so please check it for errors.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@912 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 04:06:04 +00:00
fayjf
1d25372912
Adding the "subwin" demo program to the Visual Studio 2008 build tree per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@911 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:55:21 +00:00
fayjf
e627bb8e41
Making some constants in the 'subwin' demo floating-point to silence compiler warnings per e-mail from Diederick Niehorster dated 3/22/11 at 8:58 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@910 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-23 03:38:25 +00:00
fayjf
f32f2d2b6c
Adding 'invisible messages' patch per e-mail from John Tsiombikas dated 3/18/11 1:24 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@909 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:53:09 +00:00
fayjf
6c4b6141d7
More game mode patches from John Tsiombikas, from an e-mail vintage 3/18/11 1:24 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@908 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:51:00 +00:00
fayjf
d77fcbd6ee
Adding 'freeglut_xinput.c' to fix the SVN head per e-mail from Floiran Echtler around March 19, 2011
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@907 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-22 11:44:31 +00:00
fayjf
eb247de77f
Adding the 'subwinfix.patch' patch to set the focus in the Windows code. Includes a demo program. See e-mail from Evan Felix dated 3/17/11 4:22 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@906 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 03:21:56 +00:00
fayjf
c6a776f086
Adding multitouch capability per e-mail from Florian Echtler dated 3/17/11 12:07 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@905 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-18 02:59:22 +00:00
fayjf
4a2f0ca602
Adding more examples to 'one.c' to test the game mode string per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@904 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:22:55 +00:00
fayjf
b5bed65086
Adding a warning to an unsuccessful game mode entry per e-mail from Diedrick Niehorster dated 3/16/11 11:06 PM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@903 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 04:21:38 +00:00
fayjf
59cf65ed21
Implementing the 'gamemode-testing_windows.patch' per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@902 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:55:51 +00:00
fayjf
fb0382908b
Fixing the unspecified game mode parameter problem per e-mail from Diederick Niehorster dated 3/16/11 1:06 AM -- putting in both 'gamemode-unspecified' patch files at once
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@901 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:53:40 +00:00
fayjf
f11acde225
Applying the "readme-win32.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@900 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:49:29 +00:00
fayjf
524888cc10
Applying the "vs2010_project_files.patch" patch from Diederick Niehorster in e-mail dated 3/16/11 at 1:06 AM. It will need checking that I have done it right as I needed to use the text editor to put them in.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@899 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-17 02:46:09 +00:00
fayjf
ca1a3d45cc
Implementing John Tsiombikas' missing error demo patch per e-mail dated 3/15/11 8:04 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@898 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:24:21 +00:00
fayjf
bad5d84e8b
Implementing John Tsiombikas' game mode patch per e-mail dated 3/15/11 8:04 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@897 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-16 03:22:49 +00:00
fayjf
b6e66727a9
Fixing a bug which set the "ErrorFunc" field in the call to "glutInitWarningFunc"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@896 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 03:26:15 +00:00
fayjf
7e3e81f7f8
Reducing the initial menu window size from 100x100 pixels to 1x1 pixel so that it doesn't "flash" on the screen as the menu is being created. Reference to e-mail by Jason Wilkins dated 2/22/2011 11:43 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@895 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-14 02:59:17 +00:00
fayjf
3364c70ee6
Fixing a bug in the game mode refresh rate specification, in the case in which an exact match is not found in the available display modes. Reference to e-mail from Diederick C. Niehorster dated 1/26/2011, 11:59 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@894 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:19:00 +00:00
fayjf
45305abdcb
Fixing game mode in X11 so that it doesn't override unspecified settings per e-mail from John F. Fay dated March 13, 2011 around 4:09 PM. I think this addresses bug report 3112718.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@893 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:11:18 +00:00
fayjf
4f556f9516
Fixing game mode in Windows so that it doesn't override unspecified settings per e-mail from Diederick C. Niehorster, 1/25/2011, 11:09 PM. I think this addresses bug report 3112718.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@892 7f0cb862-5218-0410-a997-914c9d46530a
2011-03-13 21:00:37 +00:00
fayjf
f86a562414
Fixing bug 3048705 -- "fgOpenWindow should only return after the window opens". This is a *nix change and I am building on Windows, so somebody else needs to test this change.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@891 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:56:38 +00:00
fayjf
4a9a84130a
Fixing bug report 3104860 -- setting the accumulator bits to one if GLUT_ACCUM is set (Windows code only)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@890 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:47:56 +00:00
fayjf
ad3899e6a1
Fixing bug 3105058. There is a possibly substantial change on line 783, where the "window->Window.Device" is replaced with "hDC" rather than "current_hDC" which was assigned to its value earlier.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@889 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:43:37 +00:00
fayjf
dc9123210d
Fixing bug report 3021598 by modifying "glutSetWindow" under Windows so that it only releases and gets the device context if the window is being set to a new window
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@888 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-25 05:17:12 +00:00
fayjf
b542912840
Fixing bug report 2952457 -- modifying the "FREEGLUT_EXIT_IF_NO_WINDOW" macro so that it does not exit if the user has specified "GLUT_ACTION_CONTINUE_EXECUTION".
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@887 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:30:13 +00:00
fayjf
d8c52fb066
Fixing bug 2946386 -- typo in 'configure.ac'
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@886 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 22:19:16 +00:00
fayjf
21c78935f7
Fixing bug 3058389, typo in Open Watcom Makefile.wat. Thank you, Kasper.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@885 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 19:12:30 +00:00
fayjf
707dedd131
Part one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@884 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 18:58:54 +00:00
fayjf
62dc997e85
Adding support to Solaris courtesy of Dagobert Michelsen, bug report 3077828 (thank you, Dagobert).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@883 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:29:47 +00:00
fayjf
5bdbf8739d
Removing a bunch of Windows line endings -- see bug report 3077828
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@882 7f0cb862-5218-0410-a997-914c9d46530a
2011-01-23 14:18:25 +00:00
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
spanne
3d7236a470
Use GLSL shaders (still 1.20, though). Dump GL info.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@777 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-15 17:53:48 +00:00
spanne
2af3dd1eae
Added a commandline option for 'classic' contexts. Aesthetic changes.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@776 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-15 14:00:45 +00:00
spanne
09efc858de
Use VBOs in new example. Added a few comments.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@775 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-15 00:22:55 +00:00
spanne
280a735302
Initial version of a fully OpenGL-3.0-compliant of the famous smooth.c from the
...
Red Book. What has been done already:
* Explicitly request a forward-compatible 3.0 context
* Report GL errors, if any, at a few crucial places
* Replaced gluOrtho2D with a home-grown matrix + glLoadMatrixf
What remains to be done:
* Use vertex shaders and fragment shaders
* Use vertex buffer objects
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@774 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-14 20:38:53 +00:00
spanne
b2242c9921
Mention autogen.sh
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@773 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 18:32:26 +00:00
spanne
9824207a74
Synchronized WGL behavior with GLX implementation: Do not call the new context creation API when it is not required. Fixing a bug in a previous commit on the way... :-}
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@772 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 18:28:58 +00:00
spanne
335315c378
More refactorings: Removed useless return value. Simplified control structures even more.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@771 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 18:24:46 +00:00
spanne
c6a956ed14
Refactoring only (replace nested conditionals with guard clauses), making the normal path of execution much clearer.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@770 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 18:16:41 +00:00
spanne
3a8ad4ac32
We have added some API entries, so we have to update library version information conforming to http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@769 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 18:05:37 +00:00
spanne
df1fec232b
Avoid CR\LF vs. LF troubles when using TortoiseSVN plus Cygwin.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@768 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 17:45:46 +00:00
fayjf
91e715a11b
Adding OpenGL 3.0 context detection for Windows per e-mail from Paul Martz dated Thu 2/12/2009 9:03 AM (more or less)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@766 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-13 03:22:17 +00:00
fayjf
100396cef0
Adding some instructions about building on a *nix platform to the 'README' file
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@765 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-03 21:22:08 +00:00
fayjf
6633fd32ac
Removing some errant tabs, fixing ticket #2137721 , and adding special-key capability to recognizing the NumLock, Delete, and keypad '5' keys
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@764 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-03 21:08:11 +00:00
fayjf
6ad88aa884
A further response to bug [ 1804696 ] Warnings when building on OpenSolaris -- per comment by Nigel Stewart on that bug report
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@763 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-03 14:31:36 +00:00
fayjf
7dc47277c7
Fixing bug [ 1804696 ] Warnings when building on OpenSolaris as updated 2/2/09 by Nigel Stewart
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@762 7f0cb862-5218-0410-a997-914c9d46530a
2009-02-02 22:43:50 +00:00
spanne
f0c1c62112
Yet another try to make the font definitions compile on all platforms.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@761 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-20 11:59:29 +00:00
fayjf
fe55b7f706
Allowing "freeglut" to compile without errors under *nix. Before this, there were problems with conflicting definitions of the GLUT font definitions.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@760 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-17 14:50:08 +00:00
spanne
aebd3ade65
Ooops, forgot one file in the previous commit (fix for "--without-x").
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@759 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-06 19:17:13 +00:00
spanne
f93b2081eb
Use autoconf to detect gettimeofday instead of broken #ifdef.
...
Note: freeglut compiles under Cygwin now, even when "--without-x" is used for
configuration.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@758 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-06 19:16:33 +00:00
spanne
76f7bd7c9b
We need to link against winmm under Cygwin when --without-x is used to get
...
timeBeginPeriod, timeEndPeriod, joyGetPosEx and joyGetDevCaps.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@757 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-06 18:57:44 +00:00
spanne
d0554a0a52
Fixed first parameter of CreateWindow call, used for multisampling on Windows.
...
It compiles, but it is otherwise untested.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@756 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-06 18:29:35 +00:00
spanne
095be1d2de
Be conservative about the presence of GL_TABLE_TOO_LARGE.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@755 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-05 18:46:20 +00:00
spanne
0828d834f8
freeglut_internal.h needs some GL types, but it is not self-contained.
...
TODO: Move freeglut.h #include into freeglut_internal.h itself?
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@754 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-05 18:45:36 +00:00
spanne
e8ffbcc5d3
Removed the annoying "Unable to create direct context rendering..." warning,
...
it served no real purpose, and on some platforms there simply is no such
thing as a direct context.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@753 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-05 18:24:43 +00:00
spanne
b1b7bc4857
Handle new glutInitContext* API entries in glutGetProcAddress
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@751 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-05 18:11:40 +00:00
spanne
a74878aece
Make freeglut compile under Cygwin, which has an ancient GLX header
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@750 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-05 18:05:36 +00:00
spanne
a248ef8281
Added OpenGL 3.0 context creation API entries
...
glutInitContextVersion,
glutInitContextFlags
and their related constants
GLUT_INIT_MAJOR_VERSION
GLUT_INIT_MINOR_VERSION
GLUT_INIT_FLAGS
GLUT_DEBUG
GLUT_FORWARD_COMPATIBLE
Note that this works with GLX only currently, the glutInitContext* API entries
have no effect for WGL yet.
TODO: Centralize the context creation code for WGL (the harder part) and use the
new wglCreateContextAttribsARB API entry (the easy part, re-use most of the GLX
code).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@749 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 21:30:53 +00:00
spanne
17c757011c
Refactored GLX context creation into a single function, centralizing things to
...
be changed for OpenGL 3.0 context creation and removing some cut-n-paste.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@748 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 20:09:02 +00:00
spanne
9e30ae3bc0
Make a wgl/glXGetProcAddress abstraction available internally. We will need this
...
to get the new context creation function.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@747 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 19:38:05 +00:00
spanne
097aea69d4
Do not depend on GLU, it will vanish in the future, at least in its current
...
form.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@746 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 19:26:36 +00:00
spanne
4dc68a17e3
Removed superfluous #includes.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@745 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 18:42:49 +00:00
spanne
60227d5645
Fix for bug #1709675 ("probably not be so ISO-conformant"): The C compiler flag
...
-Werror is not used by default anymore, a separate configure flag
--enable-warnings-as-errors has been introduced for this purpose, which is off
by default.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@744 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 18:27:21 +00:00
spanne
a9f8ef8d89
Added AM_PROG_CC_C_O to configure.ac, removing a warning during autogen.sh. This
...
flag seems to be necessary for per-target flags (used in demo programs)
nowadays.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@743 7f0cb862-5218-0410-a997-914c9d46530a
2008-11-02 18:14:02 +00:00
fayjf
ebaedf2da0
Implementing a patch from Jocelyn Frechot (thank you, Jocelyn) that "should enable the XInput extension management with the autotools." See e-mail of Sun 7/20/2008 12:01 PM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@742 7f0cb862-5218-0410-a997-914c9d46530a
2008-07-21 15:00:51 +00:00
fayjf
a3f35083ec
Adding "glutExit" to the functions in "fghGetProcAddress" in accordance with an e-mail from Jocelyn Frechot dated Tue 7/8/2008 12:26 PM
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@741 7f0cb862-5218-0410-a997-914c9d46530a
2008-07-10 15:17:10 +00:00
fayjf
559a38709e
Adding "SC_MONITORPOWER" and other new options to the "wParam" option list (e-mail from Ron Larkin, 3/17/08, 11:00 AM)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@740 7f0cb862-5218-0410-a997-914c9d46530a
2008-04-05 21:53:51 +00:00
fayjf
7736494329
Fixing the "Release Announcement" link
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@739 7f0cb862-5218-0410-a997-914c9d46530a
2007-12-19 13:47:21 +00:00
fayjf
4fddcfd08f
Adding "glutFullScreenToggle" for X11 -- still needs implementation in Windows (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@738 7f0cb862-5218-0410-a997-914c9d46530a
2007-12-02 03:50:29 +00:00
fayjf
9d2fccf853
Fixing the window position for asynchronous X11 implementations (e-mail by Jocelyn Frechot, Sun 11/25/2007 11:29 AM)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@737 7f0cb862-5218-0410-a997-914c9d46530a
2007-12-01 23:34:55 +00:00
fayjf
872dbbc4ad
Making a demo program that uses "glutMainLoopEvent"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@736 7f0cb862-5218-0410-a997-914c9d46530a
2007-11-26 08:09:45 +00:00
fayjf
7f75464b6f
Implementing Jocelyn Frechot's changes -- see e-mail of Thursday, 11/8/2007 9:12 AM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@735 7f0cb862-5218-0410-a997-914c9d46530a
2007-11-12 04:06:19 +00:00
fayjf
afd73e99d6
Removing more Win64 build warnings from joystick code
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@733 7f0cb862-5218-0410-a997-914c9d46530a
2007-10-02 02:46:04 +00:00
puggles
7b7de85a0d
SVN Update
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@732 7f0cb862-5218-0410-a997-914c9d46530a
2007-10-01 02:42:12 +00:00
fayjf
cc84d110ac
Removing the final compiler warning when building on Win75 -- thank you, Antonio Mattos.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@731 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-30 12:07:26 +00:00
fayjf
8b5b378c99
Removing the remaining compiler warnings from the cursor code, thanks to Antonio Mattos of Brazil. The double type-casting is needed because of a bug in the new MSVC; there is a discussion on the web on this subject.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@730 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-29 13:06:38 +00:00
fayjf
0e17c966c4
Changing the cursor definition macro for newer versions of MSVC -- thanks to "Mattos" of Brazil
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@729 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-25 23:09:29 +00:00
fayjf
624693e28e
More changes for Jocelyn Frechot's multisampling changes. The library builds now. It still needs some testing with sample cases under X11.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@728 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-25 03:54:56 +00:00
fayjf
5ab9b39a6c
Fixing a remaining bug in the multisampling change ... there may be more ...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@727 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-23 14:29:06 +00:00
fayjf
5ffa7abdb6
Putting in Jocelyn Frechot's X11 visual context changes. THIS WILL BREAK THE BUILD as I am unable to test it on a Linux machine here. Somebody please test it for me.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@726 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-22 02:55:37 +00:00
fayjf
74802d3f21
Removing compiler warnings in MSVC 2005 build
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@725 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-21 04:32:59 +00:00
fayjf
55c6100806
Implementing Larry Ramey's "glutExit" feature (see e-mails from him on 11/9/05, 6/28/06)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@724 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-21 04:00:14 +00:00
fayjf
9fffa516e3
Implementing first part of Windows version of "GLUT_CAPTIONLESS" and "GLUT_BORDERLESS" per feature request "[ 1197016 ] need GLUT_CAPTIONLESS window option". Needs more work; menus are slightly mispositioned, X11 version does not support it, banner appears at beginning but disappears on window resize. But this is a start.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@723 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:42:25 +00:00
fayjf
f5cd6eb893
Fixing Linux key-repeat mode bug reported in "[ 1796845 ] Keyboard events are lost when key repeat is enabled."
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@722 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:15:14 +00:00
fayjf
7234e21a11
Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@721 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-19 04:10:46 +00:00
fayjf
33c99dfafe
Implementing feature request "[ 947118 ] Popup menu is hidden under the TOPMOST window"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@720 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 03:50:24 +00:00
fayjf
4433f7f336
Adding Takeshi Nishimura's Feature Request "[ 1045202 ] Cope with a menu with many items" -- sorry it took so long.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@719 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 03:22:11 +00:00
fayjf
179cf69128
Addressing Feature Request #1307049 that "freeglut" should return 0 if "glutGetWindow" is called without a prior call to "glutInit", rather than terminating on error.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@718 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 02:32:53 +00:00
fayjf
f0f836b78d
Added Windows "nmake" Makefiles and dependency files for the two "freeglut" projects in accordance with Feature Request #1454543
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@717 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-18 02:26:39 +00:00
fayjf
146beb5f88
Fixing bug #1688954 , submitted in Marcy '07. I changed "FREEGLUT" to _T("FREEGLUT") and nothing changed on my Windows XP system. If this will allow it to work on Vista, then in it goes.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@716 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-16 04:16:49 +00:00
fayjf
9c2a742925
Fixing bug report #1052151 from October 2004.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@715 7f0cb862-5218-0410-a997-914c9d46530a
2007-09-16 03:57:04 +00:00
fayjf
c609d36203
Adding a Frequently Asked Questions file
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@714 7f0cb862-5218-0410-a997-914c9d46530a
2006-11-28 19:01:13 +00:00
joekrahn
8575cb31c8
Removed incorrect comment about internal WGL/ARB definitions.
...
I actually had put those comments in because I had meant to go back and
re-check the WGL extension. But, maybe locally defined extensions
should be kept in a separate include file?
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@713 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-28 15:21:33 +00:00
joekrahn
6273d5e17b
Added FREEGLUT_LIB_PRAGMAS to control MS library pragmas, and fixed NOMINMAX define.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@711 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-26 03:18:18 +00:00
fayjf
6fbecfbb6f
Fixing a typo bug in the display mode checking (removing multisampling if it is not supported)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@709 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 14:27:10 +00:00
joekrahn
490ada7091
Fixed a small mistake in the previous commit for glutGet.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@708 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 02:41:15 +00:00
joekrahn
20684ece83
Added proper support for number of mouse buttons in X11, and
...
a keyboard in Windows CE. Also, several glutGet results returning
TRUE/FALSE were changed to 1/0, because the actual return type
is int (although they are technically the same in practice).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@707 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-25 02:39:33 +00:00
joekrahn
007f03763e
Converted Time counter to a uniform unsigned long it value.
...
The initialized flag was redundant with the main Initialized flag,
and conversion of timeval to milliseconds in POSIX makes the code
cleaner. Timeval has a longer range, but the time value is already
limited by the GLUT API.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@706 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-24 21:28:38 +00:00
joekrahn
d38b3eeff0
Removed WindowState.IsGameMode; it is redundant with Structure.GameModeWindow
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@705 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-23 03:49:13 +00:00
fayjf
94662b8d1b
Adding support for the multisampling query per bug report 1274193
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@704 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 22:39:12 +00:00
fayjf
938aa5fa90
Fixing Bug #1398196 - Windows message argument
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@703 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 22:06:57 +00:00
joekrahn
bedbe25db5
test (comment edited)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@702 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 19:20:17 +00:00
fayjf
2c85792a59
Adding temporary fix to "glutInitDisplayString" to ignore numerical assignments
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@701 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 19:02:14 +00:00
fayjf
4f6e4144b1
Adding multisampling to *nix and Windows; also some other pixel format enhancements to Windows
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@700 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:59:37 +00:00
fayjf
735a977bba
Enhancing the "CallbackMaker" demo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@699 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:44:55 +00:00
fayjf
ad0d735b7f
Joe Krahn's changes to "TARGET_HOST" defined constants
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@698 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 18:39:09 +00:00
fayjf
22deb0baa1
Fixing two minor bugs, adding comments
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@697 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 17:33:56 +00:00
fayjf
d4e5d7ed27
Changing "GameMode" to "GameModeWindow ... and testing whether I can get to SVN directly
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@696 7f0cb862-5218-0410-a997-914c9d46530a
2006-09-21 17:13:37 +00:00
spanne
3929b150ac
Check fgets for return value to avoid warnings.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@695 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 16:31:20 +00:00
spanne
e6727385dd
Fixed typo in date
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@694 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 16:29:28 +00:00
spanne
1fe75429c9
Updated build requirements for SuSE 10.1
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@693 7f0cb862-5218-0410-a997-914c9d46530a
2006-08-05 15:52:45 +00:00
spanne
9ea2a52be0
Ooops, forgot to ingore INSTALL and install-sh in previous commit...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@692 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 14:22:04 +00:00
spanne
f3d8a6c845
Moved GLUT_INIT_STATE to <GL/freeglut_ext.h>, it is not part of the
...
original GLUT.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@691 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 14:20:36 +00:00
spanne
593887dece
Simply use autoreconf in autogen.sh, it is much simpler and the recommended
...
way in the autotools documentation. Removed INSTALL, install-sh and
mkinstalldirs, they are either unused or automatically generated by
autogen.sh.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@690 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-12 13:04:46 +00:00
fayjf
88b28ee963
Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@689 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-06 14:01:56 +00:00
fayjf
dfaf1a5846
Implementing Stereo in Windows
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@688 7f0cb862-5218-0410-a997-914c9d46530a
2005-10-06 13:53:42 +00:00
spanne
0e76af92bb
Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@687 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-07 11:53:13 +00:00
spanne
c529daadc7
Use -Wall for automake to catch some buglets, deprecated stuff, etc.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@686 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-07 11:47:20 +00:00
spanne
c3abbc2013
Silenced autogen.sh
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@685 7f0cb862-5218-0410-a997-914c9d46530a
2005-09-04 15:24:57 +00:00
fayjf
86ebda12d2
Necessary files for Open Watcom support
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@684 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 16:00:55 +00:00
fayjf
d62bf658f7
Adding Open Watcom support
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@683 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 14:33:33 +00:00
fayjf
da09dcc857
Documenting support for Open Watcom
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@682 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 13:52:48 +00:00
fayjf
a9ed0f7521
Implementing WATCOM support
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@681 7f0cb862-5218-0410-a997-914c9d46530a
2005-08-31 13:10:40 +00:00
spanne
485ee9acb8
Nuked useless bit-fiddling, pointed out by John. I was a bit too quick to
...
cut-n-paste the cfmakeraw() definition into our code... :-]
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@680 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 12:54:24 +00:00
spanne
7c0201f17b
Synched the DLL definitions with reality.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@679 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 11:56:34 +00:00
spanne
ee25389446
Fixed the GLUT_CURSOR_INHERIT logic once again...
...
Note that this commit is untested, but at least it looks better than
before. We really a need a cursor test program.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@678 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-14 09:39:26 +00:00
fayjf
322a290199
Fixing a cursor bug in \"GLUT_CURSOR_INHERIT\"
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@677 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 20:25:07 +00:00
spanne
fa640f9356
Improve autoconf magic: To detect headers like GL/gl.h, it might be
...
necessary to temporarily use the X11 flags found by AC_PATH_XTRA.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@676 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 12:05:33 +00:00
spanne
e802d0e918
Avoid gcc warnings for some joystick code (e.g. on Solaris).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@675 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:44:59 +00:00
spanne
4901f840a9
Tiny cleanup only...
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@674 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:38:27 +00:00
spanne
7007bb0eb8
Solaris doesn't have cfmakeraw, but it is only a convenience function for
...
some bit-fiddling, anyway.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@673 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-13 11:35:36 +00:00
spanne
c9d919e643
Made all the "glutJoystickXXX" functions part of the freeglut extensions.
...
If this is not what we want, we can easily #ifdef this away again...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@672 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-08 13:20:12 +00:00
spanne
7648f784f3
Made a few global arrays "static", avoiding namespace pollution. The only
...
externally visible symbols should either be from the GLUT API ("glutXXX")
or internal freeglut entities ("fgYYY"). Reformatted things a bit on the way.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@671 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-08 12:48:58 +00:00
spanne
633e3e7179
We only have pending redisplay callbacks when the window wants to be
...
redisplayed *and* it is visible. Otherwise we won't redraw, anyway, and
immediately discover that there's still something to do, etc. etc., leading
to 100% CPU load.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@670 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 16:11:31 +00:00
spanne
56a37333b9
Removed redundant code.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@669 7f0cb862-5218-0410-a997-914c9d46530a
2005-07-06 16:06:05 +00:00