wl-drm: move variable declaration to top and add TODO comment

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-12-15 12:04:39 -05:00
parent 2695843659
commit aef50cf24a
1 changed files with 5 additions and 2 deletions

View File

@ -392,6 +392,8 @@ _drm2_randr_create(void)
if (ok)
{
int rotations;
if (!possible)
{
unsigned int refresh;
@ -413,13 +415,14 @@ _drm2_randr_create(void)
s->config.geom.w, s->config.geom.h);
}
/* TODO: get current output rotation and store in
* s->config.rotation */
s->info.can_rot_0 = EINA_FALSE;
s->info.can_rot_90 = EINA_FALSE;
s->info.can_rot_180 = EINA_FALSE;
s->info.can_rot_270 = EINA_FALSE;
int rotations;
rotations =
ecore_drm2_output_supported_rotations_get(output);