summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index f45b5657f5..7642025ef4 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1518,10 +1518,12 @@ ecore_drm2_output_supported_rotations_get(Ecore_Drm2_Output *output)
1518EAPI Eina_Bool 1518EAPI Eina_Bool
1519ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation) 1519ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
1520{ 1520{
1521 Eina_Bool ret = EINA_FALSE; 1521 Eina_Bool ret = EINA_TRUE;
1522 1522
1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE); 1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1524 1524
1525 output->rotation = rotation;
1526
1525#if 0 1527#if 0
1526 /* XXX: Disable hardware plane rotation for now as this has broken 1528 /* XXX: Disable hardware plane rotation for now as this has broken
1527 * recently. The break happens because of an invalid argument, 1529 * recently. The break happens because of an invalid argument,