summaryrefslogtreecommitdiff
path: root/src/smi_crtc.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-17 20:08:49 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-17 20:08:49 -0200
commitc2e318eaec3ac281457acdca4ea10fa368f646d3 (patch)
tree39d4133e79e296675cc64a814f15182561afa80b /src/smi_crtc.h
parented6aba73259a1412e23a954d6a8dba439ad98a8a (diff)
Enable XAA and randr rotated modes.
Use the same logic for offscreen memory management as used in smi_video.c. This also makes the functions SMI_AllocateMemory and SMI_FreeMemory no longer static in smi_video.c.
Diffstat (limited to 'src/smi_crtc.h')
-rw-r--r--src/smi_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_crtc.h b/src/smi_crtc.h
index fcd8345..951f78f 100644
--- a/src/smi_crtc.h
+++ b/src/smi_crtc.h
@@ -28,7 +28,7 @@ typedef struct {
/* Memory copy of the CRTC color palette */
CARD16 lut_r[256],lut_g[256],lut_b[256];
/* Allocated memory area used as shadow pixmap (for rotation) */
- ExaOffscreenArea* shadowArea;
+ void* shadowArea;
/* Setup the CRTC registers to show the specified framebuffer location*/
void (*adjust_frame)(xf86CrtcPtr crtc, int x, int y);