[PATCH] fix build when Xinerama is disabled

Bernardo Innocenti bernie at codewiz.org
Mon Nov 19 21:01:53 PST 2007


Hal V. Engel wrote:

>> @@ -320,20 +319,17 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo,
>> int *pDRMFD) return FALSE;
>>      }
>>
>> +#ifdef PANORAMIX
>>      /*
>>       * If Xinerama is on, don't allow DRI to initialise.  It won't be
>> usable * anyway.
> 
> Are you sure about this?  I have an xinerama machine and I run FlightGear 
> across both monitors and I don't think I would be able to do this if DRI was 
> not working.  So I think this depends on the driver that is being used.

That code was already there before...  I'm merely commenting it
out in the !PANORAMIX case to avoid a compile-time error.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/



More information about the xorg mailing list