forked from enlightenment/efl
evas/gl_drm: Follow change form evas_drm and remove tty_won and tty struct members
The evas_gl_drm engine followed the changes from evas_drm so we can safely remove them here as well.
This commit is contained in:
parent
bff3bee8a5
commit
79660ae4ae
|
@ -21,9 +21,8 @@ struct _Evas_Engine_Info_GL_Drm
|
|||
uint32_t flags;
|
||||
int depth, screen, rotation;
|
||||
unsigned char destination_alpha : 1;
|
||||
int fd, tty;
|
||||
int fd;
|
||||
Eina_Bool own_fd : 1;
|
||||
Eina_Bool own_tty : 1;
|
||||
int output, plane;
|
||||
Ecore_Drm_Device *dev;
|
||||
} info;
|
||||
|
|
|
@ -629,12 +629,6 @@ eng_setup(Evas *eo_e, void *in)
|
|||
}
|
||||
info->info.own_fd = EINA_TRUE;
|
||||
info->info.fd = ecore_drm_device_fd_get(info->info.dev);
|
||||
|
||||
if (info->info.tty < 0)
|
||||
{
|
||||
info->info.own_tty = EINA_TRUE;
|
||||
info->info.tty = ecore_drm_tty_get(info->info.dev);
|
||||
}
|
||||
}
|
||||
|
||||
if (!(info->info.gbm) || !(info->info.surface))
|
||||
|
|
Loading…
Reference in New Issue