randr: Fix crtcs using set_mode_major()
We'd never mark the crtc as active, meaning (among other things) gamma upload wouldn't work.
This commit is contained in:
parent
291408980f
commit
17545ed80e
|
@ -368,12 +368,13 @@ xf86CrtcSetModeTransform (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotati
|
|||
}
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
done:
|
||||
if (ret) {
|
||||
crtc->active = TRUE;
|
||||
if (scrn->pScreen)
|
||||
xf86CrtcSetScreenSubpixelOrder (scrn->pScreen);
|
||||
|
||||
done:
|
||||
if (!ret) {
|
||||
} else {
|
||||
crtc->x = saved_x;
|
||||
crtc->y = saved_y;
|
||||
crtc->rotation = saved_rotation;
|
||||
|
|
Loading…
Reference in New Issue
Block a user