projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1203246
)
Fixing the "xrandr" refresh rate per e-mail from John Tsiombikas dated 12/19/11 at...
author
John F. Fay
<johnffay@nettally.com>
Tue, 20 Dec 2011 03:30:00 +0000
(
03:30
+0000)
committer
John F. Fay
<johnffay@nettally.com>
Tue, 20 Dec 2011 03:30:00 +0000
(
03:30
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@962
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_gamemode.c
patch
|
blob
|
history
diff --git
a/src/freeglut_gamemode.c
b/src/freeglut_gamemode.c
index
f5e629c
..
803026b
100644
(file)
--- a/
src/freeglut_gamemode.c
+++ b/
src/freeglut_gamemode.c
@@
-106,10
+106,6
@@
static int xrandr_resize(int xsz, int ysz, int rate, int just_checking)
break; /* no matching resolution */
#if ( RANDR_MAJOR >= 1 ) || ( ( RANDR_MAJOR == 1 ) && ( RANDR_MINOR >= 1 ) )
- if(rate <= 0) {
- fgState.GameModeRefresh = XRRConfigCurrentRate(xrr_config);
- }
-
if(use_rate) {
rate = fgState.GameModeRefresh;