Bug 2370 - move DRI ifdef to the correct location.
Summary: move DRI ifdef to the correct location.
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: PowerPC Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
: 2364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-24 07:37 UTC by Egbert Eich
Modified: 2005-01-24 10:52 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
see above (930 bytes, patch)
2005-01-24 07:37 UTC, Egbert Eich
no flags Details | Splinter Review

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.