Add a setter for randr_crtc->rotations.
This commit is contained in:
parent
cde17015df
commit
42a48786ac
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue