ecore_drm2: Don't clear plane fb on release
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 16 Jun 2017 21:04:18 +0000 (16:04 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 23 Jun 2017 13:15:41 +0000 (08:15 -0500)
We'll need this later for post-page flip bookkeeping, and nothing will
notice that it's not cleared now anyway.

src/lib/ecore_drm2/ecore_drm2_plane.c

index 323cc9d..a83d1fb 100644 (file)
@@ -137,7 +137,6 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane)
      eina_list_append(plane->output->fbs, plane->state->fb);
 
    plane->dead = EINA_TRUE;
-   plane->state->fb = NULL;
    plane->state->in_use = EINA_FALSE;
    _fb_atomic_flip_test(plane->output);
 }