forked from enlightenment/efl
ecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function
As there is nothing inside this function which requires any Atomic API calls, this #ifdef can be removed and the function can then still be used to assign Primary planes for non-atomic use cases. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b9f4641762
commit
e5de325e90
|
@ -41,7 +41,6 @@ _plane_cursor_size_get(int fd, int *width, int *height)
|
|||
EAPI Ecore_Drm2_Plane *
|
||||
ecore_drm2_plane_assign(Ecore_Drm2_Output *output, Ecore_Drm2_Fb *fb)
|
||||
{
|
||||
#ifdef HAVE_ATOMIC_DRM
|
||||
Eina_List *l;
|
||||
Ecore_Drm2_Plane *plane;
|
||||
Ecore_Drm2_Plane_State *pstate;
|
||||
|
@ -107,9 +106,6 @@ out:
|
|||
output->planes = eina_list_append(output->planes, plane);
|
||||
|
||||
return plane;
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue