summaryrefslogtreecommitdiff
path: root/src/lx_output.c
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-08-18 14:19:34 -0600
committerJordan Crouse <jordan.crouse@amd.com>2008-08-18 14:19:34 -0600
commit38e868271bd24be7a884c8c56772b25cd6fa6f1d (patch)
treedfc6f8ab0e7f2c6c641d0bdb68cdaef5fa522b42 /src/lx_output.c
parentd681a844e448712a9a419d2a4dca81930d39a80a (diff)
lx: Add rotation for Randr 1.2 + cleanups
Enable rotation through RandR 1.2 and add the accelerated rotation blit the EXA composite function. Also, fix a handful of critical bugs and remove some more dead code.
Diffstat (limited to 'src/lx_output.c')
-rw-r--r--src/lx_output.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lx_output.c b/src/lx_output.c
index e0c3c78..53a538a 100644
--- a/src/lx_output.c
+++ b/src/lx_output.c
@@ -213,8 +213,7 @@ lx_output_get_modes(xf86OutputPtr output)
xf86OutputSetEDID(output, mon);
modes = xf86OutputGetEDIDModes(output);
} else {
- modes = pGeode->panelMode;
- modes->next = NULL;
+ modes = xf86DuplicateMode(pGeode->panelMode);
}
return modes;
@@ -251,13 +250,12 @@ LXSetupOutput(ScrnInfoPtr pScrni)
xf86OutputPtr output;
LXOutputPrivatePtr lxpriv;
- output = xf86OutputCreate(pScrni, &lx_output_funcs, "Default");
+ output = xf86OutputCreate(pScrni, &lx_output_funcs, "default");
lxpriv = xnfcalloc(1, sizeof(LXOutputPrivateRec));
if (!lxpriv) {
xf86OutputDestroy(output);
- ErrorF("ERROR - Unable to create the output\n");
return;
}