Add a setter for randr_crtc->rotations.

This commit is contained in:
Eric Anholt 2007-01-17 14:34:42 -08:00
parent cde17015df
commit 42a48786ac
2 changed files with 17 additions and 0 deletions

View File

@ -542,6 +542,13 @@ Bool
RRCrtcGammaSetSize (RRCrtcPtr crtc,
int size);
/*
* Set the allowable rotations of the CRTC.
*/
Bool
RRCrtcSetRotations (RRCrtcPtr crtc,
Rotation rotations);
/*
* Destroy a Crtc at shutdown
*/

View File

@ -426,6 +426,16 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc,
return TRUE;
}
/*
* Set the allowable rotations of the CRTC.
*/
Bool
RRCrtcSetRotations (RRCrtcPtr crtc,
Rotation rotations)
{
crtc->rotations = rotations;
}
/*
* Initialize crtc type
*/