summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorairlied <airlied@optimus.localdomain>2006-11-17 18:47:50 +1100
committerairlied <airlied@optimus.localdomain>2006-11-17 18:47:50 +1100
commit8c1b9269aaac746989bdb9be02915722bcf6fec0 (patch)
treec54a6ce7094f58798017fa6e29e6dd8c0a4f0451 /src
parent3a0338bb487739a1740ddfb4d36d53cfa7f798c6 (diff)
forgot SetPitch function is called
Diffstat (limited to 'src')
-rw-r--r--src/radeon.h1
-rw-r--r--src/radeon_modes.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 53b1cf5a..7789a9a7 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -907,6 +907,7 @@ extern int RADEONValidateMergeModes(ScrnInfoPtr pScrn);
extern int RADEONValidateDDCModes(ScrnInfoPtr pScrn1, char **ppModeName,
RADEONMonitorType DisplayType, int crtc2);
extern int RADEONValidateFPModes(ScrnInfoPtr pScrn, char **ppModeName);
+extern void RADEONSetPitch (ScrnInfoPtr pScrn);
#ifdef XF86DRI
diff --git a/src/radeon_modes.c b/src/radeon_modes.c
index 94b1d5ba..132f0885 100644
--- a/src/radeon_modes.c
+++ b/src/radeon_modes.c
@@ -117,7 +117,7 @@ static void RADEONSortModes(DisplayModePtr *new, DisplayModePtr *first,
}
}
-static void RADEONSetPitch (ScrnInfoPtr pScrn)
+void RADEONSetPitch (ScrnInfoPtr pScrn)
{
int dummy = pScrn->virtualX;
RADEONInfoPtr info = RADEONPTR(pScrn);