From: <fa...@us...> - 2011-12-20 03:30:05
|
Revision: 962 http://freeglut.svn.sourceforge.net/freeglut/?rev=962&view=rev Author: fayjf Date: 2011-12-20 03:30:00 +0000 (Tue, 20 Dec 2011) Log Message: ----------- Fixing the "xrandr" refresh rate per e-mail from John Tsiombikas dated 12/19/11 at 7:14 AM Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_gamemode.c Modified: trunk/freeglut/freeglut/src/freeglut_gamemode.c =================================================================== --- trunk/freeglut/freeglut/src/freeglut_gamemode.c 2011-12-20 03:26:29 UTC (rev 961) +++ trunk/freeglut/freeglut/src/freeglut_gamemode.c 2011-12-20 03:30:00 UTC (rev 962) @@ -106,10 +106,6 @@ 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |