Bug 2370

Summary: move DRI ifdef to the correct location.
Product: xorg Reporter: Egbert Eich <eich>
Component: Driver/RadeonAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: matthieu.herrb, michel, sndirsch
Version: git   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
see above none

Description Egbert Eich 2005-01-24 07:37:16 UTC
RADEONInfoPtr info = RADEONPTR(pScrn);
is needed even without DRI.
Comment 1 Egbert Eich 2005-01-24 07:37:45 UTC
Created attachment 1743 [details] [review]
see above
Comment 2 Egbert Eich 2005-01-24 07:40:31 UTC
Committed:

2005-01-24  Egbert Eich  <eich-at-freedesktop-dot-org>

        * programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c:
        (RADEONCopyData), (RADEONCopyRGB24Data), (RADEONCopyMungedData):
        Don't exclude 'RADEONInfoPtr info = ...' declaration even when
        not building with DRI support (Bugzilla #2370)
Comment 3 Michel Dänzer 2005-01-24 08:03:39 UTC
Strictly speaking, the declaration of info should be guarded by

#if defined(XF86DRI) || X_BYTE_ORDER == X_BIG_ENDIAN

?
Comment 4 Matthieu Herrb 2005-01-25 05:52:18 UTC
*** Bug 2364 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.