summaryrefslogtreecommitdiff
path: root/src/radeon_dga.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:36 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:28:36 +0000
commit73105e438e90f950249cb265ba99001d4db3dc60 (patch)
treeadd0e49232de50548191a4243ed0d32cc91d1ec5 /src/radeon_dga.c
parent0a53864f9581196604d04fd28b4e94a9b0b73d18 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'src/radeon_dga.c')
-rw-r--r--src/radeon_dga.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/radeon_dga.c b/src/radeon_dga.c
index a0fe938..525abba 100644
--- a/src/radeon_dga.c
+++ b/src/radeon_dga.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_dga.c,v 1.11 2002/09/18 18:14:58 martin Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_dga.c,v 1.12 2003/11/10 18:41:22 tsi Exp $ */
/*
* Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
* VA Linux Systems Inc., Fremont, California.
@@ -97,7 +97,7 @@ SECOND_PASS:
pitch = secondPitch;
if (!(newmodes = xrealloc(modes, (*num + 1) * sizeof(DGAModeRec))))
- break;
+ break;
modes = newmodes;
currentMode = modes + *num;
@@ -106,7 +106,7 @@ SECOND_PASS:
currentMode->flags = DGA_CONCURRENT_ACCESS;
if (pixmap)
- currentMode->flags |= DGA_PIXMAP_AVAILABLE;
+ currentMode->flags |= DGA_PIXMAP_AVAILABLE;
if (info->accel) {
if (info->accel->SetupForSolidFill &&
@@ -123,7 +123,7 @@ SECOND_PASS:
if (pMode->Flags & V_DBLSCAN)
currentMode->flags |= DGA_DOUBLESCAN;
if (pMode->Flags & V_INTERLACE)
- currentMode->flags |= DGA_INTERLACED;
+ currentMode->flags |= DGA_INTERLACED;
currentMode->byteOrder = pScrn->imageByteOrder;
currentMode->depth = depth;
@@ -264,16 +264,16 @@ static Bool RADEON_SetMode(ScrnInfoPtr pScrn, DGAModePtr pMode)
RADEONSwitchMode(indx, pScrn->currentMode, 0);
#ifdef XF86DRI
- if (info->directRenderingEnabled) {
+ if (info->directRenderingEnabled) {
RADEONCP_STOP(pScrn, info);
- }
+ }
#endif
if (info->accelOn)
RADEONEngineInit(pScrn);
#ifdef XF86DRI
- if (info->directRenderingEnabled) {
+ if (info->directRenderingEnabled) {
RADEONCP_START(pScrn, info);
- }
+ }
#endif
RADEONAdjustFrame(indx, 0, 0, 0);
info->DGAactive = FALSE;
@@ -297,16 +297,16 @@ static Bool RADEON_SetMode(ScrnInfoPtr pScrn, DGAModePtr pMode)
RADEONSwitchMode(indx, pMode->mode, 0);
#ifdef XF86DRI
- if (info->directRenderingEnabled) {
+ if (info->directRenderingEnabled) {
RADEONCP_STOP(pScrn, info);
- }
+ }
#endif
if (info->accelOn)
RADEONEngineInit(pScrn);
#ifdef XF86DRI
- if (info->directRenderingEnabled) {
+ if (info->directRenderingEnabled) {
RADEONCP_START(pScrn, info);
- }
+ }
#endif
}