summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-16 17:03:52 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-09-16 17:03:52 +0000
commit42516e3b152a956b8ffa60b76b3d2a4980570c17 (patch)
tree9d1155656e826d8d4596972276e8394c7e5ba257 /driver
parent2f6d567279ee0e5b7617fe424b88aff87339374f (diff)
Merge upstream build fix for 32bit arches with xserver 1.13.
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-video-mach64/src/atiscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-mach64/src/atiscreen.c b/driver/xf86-video-mach64/src/atiscreen.c
index 295787790..b1fbd3c66 100644
--- a/driver/xf86-video-mach64/src/atiscreen.c
+++ b/driver/xf86-video-mach64/src/atiscreen.c
@@ -580,7 +580,7 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL)
#ifdef TV_OUT
/* Fix-up TV out after ImpacTV probe */
if (pATI->OptionTvOut && pATI->Chip < ATI_CHIP_264GTPRO)
- ATISwitchMode(0, pScreenInfo->currentMode, 0);
+ ATISwitchMode(SWITCH_MODE_ARGS(pScreenInfo, pScreenInfo->currentMode));
#endif /* TV_OUT */
#ifdef XF86DRI_DEVEL