mirror of
https://github.com/yawut/SDL.git
synced 2026-09-27 10:46:39 -05:00
Fixed refresh rate calculation
This commit is contained in:
@@ -224,8 +224,7 @@ static int
|
||||
CalculateXRandRRefreshRate(const XRRModeInfo *info)
|
||||
{
|
||||
return (info->hTotal
|
||||
&& info->vTotal) ? (1000 * info->dotClock / (info->hTotal *
|
||||
info->vTotal)) : 0;
|
||||
&& info->vTotal) ? (info->dotClock / (info->hTotal * info->vTotal)) : 0;
|
||||
}
|
||||
|
||||
static SDL_bool
|
||||
|
||||
Reference in New Issue
Block a user