diff options
author | Eric Anholt <eric@anholt.net> | 2006-11-28 16:36:09 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-11-28 16:37:46 -0800 |
commit | 9e4e7d4fa25a64a2494e7531967599142e60e716 (patch) | |
tree | e1e023c59b9b28e26a2c1f30c7bb86edb79314ee /src/i830_crt.c | |
parent | 8d9ba2405d1f1e58a0cfb570e83e9206af8525b5 (diff) |
Conditionally compile old-server compatibility code in.
This also replaces calls to compat code with the real names of the functions,
and slips #defines to an i830-namespaced version in when doing compat.
The current server version (7.1.99.2) is still left as requiring compat code,
since the version hasn't been bumped yet.
This also fixes some failures to call the compat code, and some failures to
actually compile the compat code. Oops.
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r-- | src/i830_crt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c index f067260d..76a8007c 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -316,7 +316,7 @@ i830_crt_get_modes(ScrnInfoPtr pScrn, I830OutputPtr output) fixed_mon.vrefresh[0].lo = 50.0; fixed_mon.vrefresh[0].hi = 70.0; - modes = i830xf86DuplicateModes(pScrn, pScrn->monitor->Modes); + modes = xf86DuplicateModes(pScrn, pScrn->monitor->Modes); i830xf86ValidateModesSync(pScrn, modes, &fixed_mon); i830xf86PruneInvalidModes(pScrn, &modes, TRUE); |