ecore_drm2: Stop using the old per output release callbacks

This commit is contained in:
Derek Foreman 2017-06-15 13:03:16 -05:00
parent 4d058ad323
commit 0d1082f947
1 changed files with 2 additions and 3 deletions

View File

@ -242,13 +242,12 @@ ecore_drm2_fb_dirty(Ecore_Drm2_Fb *fb, Eina_Rectangle *rects, unsigned int count
#endif
}
/* perhaps output is no longer a necessary parameter for this function */
void
_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output, Ecore_Drm2_Output_State *s)
_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output EINA_UNUSED, Ecore_Drm2_Output_State *s)
{
Ecore_Drm2_Fb *fb = s->fb;
if (output->release_cb) output->release_cb(output->release_data, s->fb);
if (fb->status_handler)
fb->status_handler(fb, ECORE_DRM2_FB_STATUS_RELEASE, fb->status_data);