From c81ed9bd7b37c9d02141d10f6c7bad3d0c57032f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 21 Apr 2007 18:58:40 +1000 Subject: radeon: fix build on older server --- src/radeon_modes.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/radeon_modes.c b/src/radeon_modes.c index 3d147e2d..1a639717 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -186,9 +186,11 @@ static DisplayModePtr RADEONDDCModes(ScrnInfoPtr pScrn, xf86MonPtr ddc) new->status = MODE_OK; #ifdef M_T_PREFERRED if (PREFERRED_TIMING_MODE(ddc->features.msc)) - new->type = M_T_PREFERRED; + new->type |= M_T_PREFERRED; #endif +#ifdef M_T_DRIVER new->type |= M_T_DRIVER; +#endif switch (d_timings->misc) { case 0: new->Flags |= V_NHSYNC | V_NVSYNC; break; -- cgit v1.2.3