Displaying 1 result from an estimated 1 matches for "defaultrefreshrate".
2007 Apr 02
1
possible division by zero in screen.c
Hi,
In detectRefreshRateOfScreen(), we have
s->redrawTime = 1000 / s->opt[COMP_SCREEN_OPTION_REFRESH_RATE].value.i;
When the refresh rate is autodetected through RandR's XRRConfigCurrentRate
function, 0 can be returned in certain cases, leading to division by zero. An
example of this situation would be the DynamicTwinView option in the nVidia
proprietary drivers[0] (note that this