diff options
author | Matthieu Herrb <matthieu@deville.herrb.com> | 2007-05-29 23:31:13 -0600 |
---|---|---|
committer | Matthieu Herrb <matthieu@deville.herrb.com> | 2007-05-29 23:31:13 -0600 |
commit | 800bf53279e2c2bf854682bbfd6fa16d03afed00 (patch) | |
tree | 38085a9949d938ec046df327b31157c08ca75cdd /src/radeon_crtc.c | |
parent | c2637a01f9aca4032262c66ade305f5fe2c54294 (diff) |
Fix build without XF86DRI
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r-- | src/radeon_crtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c index 070daafd..0e1d82e5 100644 --- a/src/radeon_crtc.c +++ b/src/radeon_crtc.c @@ -239,9 +239,9 @@ radeon_crtc_lock(xf86CrtcPtr crtc) { ScrnInfoPtr pScrn = crtc->scrn; RADEONInfoPtr info = RADEONPTR(pScrn); +#ifdef XF86DRI Bool CPStarted = info->CPStarted; -#ifdef XF86DRI if (info->CPStarted && pScrn->pScreen) { DRILock(pScrn->pScreen, 0); if (info->accelOn) @@ -365,8 +365,10 @@ radeon_crtc_shadow_allocate (xf86CrtcPtr crtc, int width, int height) "Couldn't allocate shadow memory for rotated CRTC\n"); return NULL; } +#ifdef XF86DRI rotate_offset = info->frontOffset + radeon_crtc->rotate_mem_xaa->offset * cpp; +#endif } #endif /* USE_XAA */ |